about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-07-06rustc: Use an interior vector for ty::count_ty_paramsPatrick Walton-6/+4
2011-07-06rustc: Move the interner over to interior vectorsPatrick Walton-7/+7
2011-07-06rustc: Make the various constraint-related types in middle::ty use interior ↵Patrick Walton-18/+56
vectors
2011-07-06rustc: Make type parameter substitutions interior vectorsPatrick Walton-35/+33
2011-07-06rustc: Change constraints in types to use interior vectorsPatrick Walton-42/+47
2011-07-06rustc: Switch tag type parameters to interior vectorsPatrick Walton-31/+19
2011-07-06rustc: Use interior vectors for tag type parametersPatrick Walton-123/+188
2011-07-06Make "cannot determine a type for this local variable" non-fatalBrian Anderson-3/+6
2011-07-06Make "cannot determine a type for this expression" non-fatal. Closes #621Brian Anderson-17/+37
2011-07-06Refactor the typeck::writeback AST walkBrian Anderson-44/+51
All visitors take a wb_ctxt now instead of some taking a fn_ctxt and some taking an ignore flag.
2011-07-06Remove unused method from typeck::writebackBrian Anderson-3/+0
2011-07-06Limit exports from typeckBrian Anderson-0/+2
2011-07-06Limit exports from typeck::writebackBrian Anderson-0/+3
2011-07-06Simplify AST for expr_anon_obj.Lindsey Kuper-15/+13
2011-07-06Simplify arguments to trans_anon_obj and friends.Lindsey Kuper-21/+13
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-778/+633
2011-07-06Temp commit on the way to making meta_item into an interior vectorPatrick Walton-29/+53
2011-07-06rustc: Move crate directives over to interior vectorsPatrick Walton-13/+12
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-75/+75
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-43/+71
2011-07-06rustc: Move middle::tstate::collect_locals over to interior vectorsPatrick Walton-9/+9
2011-07-06rustc: Remove unused or seldom-used imports from ↵Patrick Walton-8/+1
middle::tstate::{bitvectors, ck}
2011-07-06rustc: Remove some unused references to std::vec from tstate::ann and ↵Patrick Walton-6/+1
tstate::auxiliary
2011-07-06rustc: Move middle::tstate::auxiliary and middle::tstate::bitvectors over to ↵Patrick Walton-123/+131
interior vectors
2011-07-06rustc: Move tstate::annotate over to interior vectorsPatrick Walton-12/+12
2011-07-06rustc: Convert bind_params_in_type() to use interior vectorsPatrick Walton-6/+9
2011-07-06rustc: Migrate tag variants to interior vectorsPatrick Walton-37/+35
2011-07-06rustc: Make object methods into interior vectorsPatrick Walton-45/+49
2011-07-06rustc: Use an interior vector for ty::count_ty_paramsPatrick Walton-6/+4
2011-07-06rustc: Move the interner over to interior vectorsPatrick Walton-7/+7
2011-07-06rustc: Make the various constraint-related types in middle::ty use interior ↵Patrick Walton-18/+56
vectors
2011-07-06rustc: Make type parameter substitutions interior vectorsPatrick Walton-35/+34
2011-07-06rustc: Change constraints in types to use interior vectorsPatrick Walton-42/+47
2011-07-06rustc: Switch tag type parameters to interior vectorsPatrick Walton-31/+19
2011-07-06rustc: Use interior vectors for tag type parametersPatrick Walton-123/+188
2011-07-06Support paren-free and lightweight-case syntaxMarijn Haverbeke-21/+10
(The old syntax is still supported as well, for now.) It is now possible to leave out the parens around if, while, and do/while conditions, and around alt expressions. Cases in an alt block can now leave off the case keyword and parens around the pattern. After the next snapshot, we can start migrating our code to use the new alt syntax, probably with a pretty-printer pass. The paren-free syntax will remain optional (you may always parenthesize expressions), but the old case syntax will no longer be supported in the future.
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-87/+53
(Possible now that a snapshot took place.)
2011-07-05Forwarding functions. Lots of progress toward #539, #540, #543.Lindsey Kuper-93/+473
2011-07-05Comments and cleanup.Lindsey Kuper-6/+13
2011-07-05Handle pattern-bound upvarsTim Chevalier-49/+162
If a closure inside a case alternative (for example, a for each loop) referenced a pattern-bound variable, this would cause an assertion failure in trans. Changed trans::collect_upvars to handle pattern-bound vars correctly. Incidentally, eliminated all direct uses of option::get in trans.
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-51/+80
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Require that the meta items in a use statement have unique namesBrian Anderson-0/+2
2011-07-05Handle fail inside a for-each loop properlyTim Chevalier-1/+5
2011-07-05handle fail inside a for loopTim Chevalier-1/+4
2011-07-05Handle fail as an argumentTim Chevalier-0/+8
2011-07-05Print remaining comments at end of *crate*, not module.Graydon Hoare-1/+1
2011-07-05Make type unification failures non-fatalBrian Anderson-16/+24
Add a failure checkpoint after the typechecking pass. There are still many fatal errors in typeck, but loosening up this one makes it easier to lean on the compiler when making changes to types. Issue #440.
2011-07-05Factor the ivec code a touch.Graydon Hoare-52/+40
2011-07-05Remove unused eval function. Issue #604Brian Anderson-17/+0
2011-07-05Support conditional compilation of native items. Closes #610Brian Anderson-5/+33