| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-16 | Don't evaluate discriminator value constants when parsing. | Kevin Atkinson | -43/+8 | |
| Remove disr_val from ast::variant_ and always use ty::variant_info when the value is needed. Move what was done during parsing into other passes, primary typeck.rs. This move also correctly type checks the disr. value expression; thus, fixing rustc --pretty=typed when disr. values are used. | ||||
| 2012-01-16 | Be more careful about pretty-printing literals | Marijn Haverbeke | -12/+19 | |
| Before, literal printing would basically get derailed completely when a literal was encountered that did not end up being printed. This caused the strangeness seen in #1532. Also cleans up pretty-printing of discriminants a little. Closes #1510 Closes #1532 | ||||
| 2012-01-16 | Update pretty printer to print out disr. values. | Kevin Atkinson | -0/+8 | |
| Partly fixes issue #1510. "rustc --pretty=typed" fails. | ||||
| 2012-01-16 | Properly print u suffix for uint literals | Marijn Haverbeke | -1/+1 | |
| Issue #1532 | ||||
| 2012-01-15 | rustc: Parse fn inner attributes. Closes #1506 | Brian Anderson | -30/+109 | |
| 2012-01-15 | rustc: Extract comman parts of view parsing | Brian Anderson | -7/+13 | |
| 2012-01-13 | rustc: Rename the lexer's err message to fatal and make it fail | Brian Anderson | -17/+12 | |
| 2012-01-13 | rustc: Replace the lexer's error handling with diagnostic impl | Brian Anderson | -10/+22 | |
| 2012-01-13 | rustc: Replace parser's error handling with diagnostic impl | Brian Anderson | -9/+10 | |
| 2012-01-13 | rustc: Extract driver::diagnostic from syntax::codemap | Brian Anderson | -137/+7 | |
| 2012-01-13 | rustc: Some more codemap refactoring | Brian Anderson | -74/+67 | |
| 2012-01-13 | rustc: Refactor codemap::emit_* functions | Brian Anderson | -24/+25 | |
| A codemap is only needed when we have a span so put them both into the option. | ||||
| 2012-01-13 | Change builtin macro defs to use #macro() | Graydon Hoare | -4/+4 | |
| 2012-01-13 | distinguish "any closure" and "stack closure" (block) | Niko Matsakis | -15/+23 | |
| 2012-01-13 | make blocks fn& and fn stand for "any closure" | Niko Matsakis | -16/+20 | |
| 2012-01-13 | make "native fn" the type for bare functions, remove fn exprs | Niko Matsakis | -4/+11 | |
| 2012-01-13 | deprecate fn exprs and the fn() type, preferring fn@ and native fn | Niko Matsakis | -25/+36 | |
| 2012-01-13 | Obj system? What obj system? | Marijn Haverbeke | -251/+10 | |
| Removes the obj system from the compiler. Closes #1484 | ||||
| 2012-01-13 | Remove all remaining uses of objs from the compiler | Marijn Haverbeke | -202/+207 | |
| 2012-01-13 | Convert the objects used in the lexer and parser to records + impls | Marijn Haverbeke | -484/+435 | |
| 2012-01-12 | make parser disambiguate fn~ at top level correctly | Niko Matsakis | -1/+12 | |
| 2012-01-12 | Make driver::session::session no longer an object | Marijn Haverbeke | -5/+5 | |
| Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type). | ||||
| 2012-01-12 | Cleanups to previous commits for issue #1393. | Kevin Atkinson | -3/+5 | |
| 2012-01-11 | Major clean-up of std::io | Marijn Haverbeke | -14/+15 | |
| Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code. | ||||
| 2012-01-11 | add a log_str() function and allow '%?' in fmt strings to use it | Niko Matsakis | -0/+2 | |
| 2012-01-10 | Fold and re-evaluate expr in tag discriminant. | Graydon Hoare | -4/+17 | |
| 2012-01-10 | Support explicit discriminant numbers on tag variants. | Kevin Atkinson | -4/+46 | |
| Addresses issue #1393. For now disallow disr. values unless all variants use nullary contractors (i.e. "enum-like"). Disr. values are now encoded in the crate metadata, but only when it will differ from the inferred value based on the order. | ||||
| 2012-01-10 | rustc: Accept "enum" in addition to "tag" | Patrick Walton | -4/+5 | |
| 2012-01-10 | replace lambda with fn@ | Niko Matsakis | -1/+5 | |
| 2012-01-10 | rename sendfn to fn~, lambda to fn@ | Niko Matsakis | -13/+16 | |
| 2012-01-09 | Remove support for 'when' in alt-patterns from parser | Austin Seipp | -5/+1 | |
| Issue #1396 | ||||
| 2012-01-09 | Change all uses of 'when' in alt-patterns to 'if' | Austin Seipp | -4/+4 | |
| Issue #1396 | ||||
| 2012-01-09 | Remove proto_sugar and 'lambda' as keyword, commit to fn@. | Graydon Hoare | -15/+9 | |
| 2012-01-09 | Make the parser accept 'if' as an alternative to 'when' in alt patterns. | Austin Seipp | -2/+6 | |
| Also fix the pretty printer, making it output 'if' instead of 'when'. Issue #1396 | ||||
| 2012-01-06 | Fix pretty-printing of ty params in iface methods | Marijn Haverbeke | -3/+5 | |
| 2012-01-05 | fix pretty printer to correctly insert parens for disamb | Niko Matsakis | -35/+5 | |
| 2012-01-05 | require a non-semi expr acting as a stmt to have unit return type | Niko Matsakis | -15/+28 | |
| 2012-01-05 | make parser handle parenthesized block-sugar exprs properly | Niko Matsakis | -81/+114 | |
| 2012-01-05 | Switch to new param kind bound syntax | Marijn Haverbeke | -16/+14 | |
| And remove support for the old syntax | ||||
| 2012-01-05 | Fix bad spans for ast::ty parsing | Marijn Haverbeke | -9/+6 | |
| The span would be pointing after the actual text. | ||||
| 2012-01-04 | Add visit_ty_params to visit.rs | Marijn Haverbeke | -7/+16 | |
| And use it to make typechecking of bounds less error-prone. | ||||
| 2012-01-03 | Allow tail expressions even in no_value blocks. Type checker | Niko Matsakis | -30/+46 | |
| will guarantee they have unit type. | ||||
| 2012-01-03 | extend parser so that expressions that do not require semi-colons | Niko Matsakis | -2/+2 | |
| to be statements are not considered expressions in the tail position | ||||
| 2012-01-03 | rewrite to put blk as 2nd arg | Niko Matsakis | -1/+1 | |
| 2012-01-03 | minimal changes to permit fn blocks in expr | Niko Matsakis | -68/+64 | |
| 2012-01-03 | Make syntax for impls less magical | Marijn Haverbeke | -23/+18 | |
| The trick of interpreting parameters to the iface type as parameters to the impl was just too magical. Issue #1227 | ||||
| 2011-12-30 | add cap clause to pretty printer, with a test | Niko Matsakis | -2/+34 | |
| 2011-12-29 | split proto from fn_decl, as not all fn_decls know the proto. | Niko Matsakis | -85/+89 | |
| this will address the (crashing) new test added. | ||||
| 2011-12-29 | Add support in lexer for utf8 identifiers. No NFKC logic in char yet. | Graydon Hoare | -2/+4 | |
| 2011-12-28 | Merge pull request #1389 from erickt/master | Graydon Hoare | -1/+1 | |
| misc standard library additions | ||||
