about summary refs log tree commit diff
path: root/src/libsyntax/fold.rs
AgeCommit message (Collapse)AuthorLines
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-11/+13
2012-08-22intern identifiersPaul Stansifer-3/+2
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-26/+26
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-3/+7
2012-08-08libsyntax: Parse common enum fieldsPatrick Walton-32/+41
2012-08-08Convert impls to new syntaxBrian Anderson-2/+2
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-6/+9
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-0/+5
2012-08-07rustc: Parse variant structs; add a trivial test casePatrick Walton-2/+15
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-9/+11
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-2/+11
2012-08-07syntax: Rename expr_alt to expr_matchBrian Anderson-2/+2
2012-08-06rustc: Parse and stub (broken) typechecking for bounded function typesPatrick Walton-1/+4
2012-08-06rustc: Implement pattern matching for structsPatrick Walton-0/+10
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-17/+17
2012-08-06rustc: Implement functional record update for structsPatrick Walton-2/+4
2012-08-05Switch alts to use arrowsBrian Anderson-100/+98
2012-08-03rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ]Patrick Walton-0/+2
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+2
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-5/+0
cc #3071
2012-08-01Convert ret to returnBrian Anderson-52/+54
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-2/+3
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-0/+1
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-30libsyntax: Parse self types in methodsPatrick Walton-0/+1
2012-07-27Start killing off obsolete/unused quoters, and fix long lines.Graydon Hoare-2/+0
2012-07-24rustc: Don't require that structs have constructorsPatrick Walton-8/+20
2012-07-23rustc: Max/min classes: Add struct literal syntaxPatrick Walton-0/+3
2012-07-17Support attributes on class ctors and dtorsTim Chevalier-0/+7
Closes #2660
2012-07-16introduce an owned kind for data that contains no borrowed ptrsNiko Matsakis-1/+1
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-42/+2
2012-07-14Get rid of ast::ty_vstore, which was only used for fixed length.Michael Sullivan-1/+1
2012-07-13Refactor how impl self types are storedTim Chevalier-1/+2
In order to avoid a confusing use of the tcache, I added an extra node ID field to trait refs. Now trait refs have a "ref ID" (the one that resolve3 resolves) and an "impl ID" (the one that you look up in the tcache to get the self type). Closes #2434
2012-07-12Obliterate the callee_id hackTim Chevalier-0/+1
Exprs that could be applications of overloaded operators (expr_unary, expr_binary, expr_index) relied on the previous node ID being "reserved" to carry extra typechecking info. This was incredibly error-prone. Fixed it; now all exprs have two node IDs (which will be wasted in some cases; future work could make this an option instead if the extra int field ends up being a performance problem). Closes #2804
2012-07-12Comments only: TODOs to FIXMEs; annotateTim Chevalier-1/+1
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-12/+8
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-10Get rid of places that expected foo.bar to implicitly bind.Michael Sullivan-34/+37
2012-07-09Allow folds to drop items.Paul Stansifer-12/+17
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+4
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-7/+7
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-0/+1
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-1/+0
This is a subtle rule that no longer seems to be required.
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-1/+2
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-25/+25
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-6/+6
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-1/+2
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-6/+6