summary refs log tree commit diff
path: root/src/rustc/util
AgeCommit message (Collapse)AuthorLines
2012-07-10Pretty print vectors as ~[] instead of []/~. Closes #2863.Michael Sullivan-2/+6
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-06paper over #2586 by not failing when the key is not foundNiko Matsakis-0/+4
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-2/+2
2012-07-01Convert to new closure syntaxBrian Anderson-12/+12
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-11/+11
2012-06-28Replaced almost all vector+ in rustc (#2719)Eric Holk-3/+3
Didn't update shape because the changes were causing segfaults.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-15/+15
2012-06-24Remove resourcesTim Chevalier-2/+2
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-22Change resources to classes in libstd and rustcTim Chevalier-2/+4
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-2/+2
2012-06-20Change map::get to map::find in ppauxTim Chevalier-3/+3
2012-06-20Don't consider loops to be breaking if they contain inner loops that breakTim Chevalier-9/+17
Closes #2642
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-14Refactor; annotate a FIXMETim Chevalier-25/+17
2012-06-13Box AST identsBrian Anderson-4/+4
2012-06-12Introduce an unboxed_vec typeMichael Sullivan-1/+2
2012-06-08Get rid of little-used logging fns in util::common. Closes #2553.Lindsey Kuper-35/+0
Also got rid of a bunch of commented-out logging statements and generally cleaned up the logging situation, mostly in typestate.
2012-06-06Revert "Revert "Merge pull request #2516 from mozilla/incoming" due to failures"Tim Chevalier-1/+9
This reverts commit 9fae95860de510f6874810cf43efb83f101246ef.
2012-06-02Add ty_var_integral (WIP on issue #1425).Lindsey Kuper-0/+1
2012-06-02improve borrowck to handle some frankly rather tricky casesNiko Matsakis-2/+6
- receivers of method calls are also borrowed - by-val arguments are also borrowed (needs tests) - assignment to components can interfere with loans
2012-05-30integrate purity into typeNiko Matsakis-7/+15
2012-05-29rustc: Move filesearch into metadata modBrian Anderson-176/+0
It's not that related to metadata, but metadata needs it and it will probably be useful for doing dynamic loading.
2012-05-23rustc: Move new_def_hash to ast_utilBrian Anderson-17/+0
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-3/+3
2012-05-18use -Z to distinguish internal debugging optionsNiko Matsakis-5/+5
2012-05-09reduce self type to a special type parameterNiko Matsakis-4/+2
2012-05-07In resolve, visit the path in an iface refTim Chevalier-0/+6
Necessary to resolve any type arguments in a ref to a parameterized iface. This meant that, for example: class A implements B<int> { ... didn't work before, because the "int" in B's argument wasn't getting visited, and thus wasn't getting resolved. Now it works. Partially addresses Issue #2288, but I also want to check that class ty params can appear as the type arguments to ifaces (for example, class A<T> implements B<T> {... should work.)
2012-05-04new cap clause syntaxNiko Matsakis-12/+3
2012-05-03Revert "allow fn exprs to omit arg types"Niko Matsakis-3/+12
This reverts commit 1ba4ca4c4a0153578e812baf5f7f5554d079de40.
2012-05-03allow fn exprs to omit arg typesNiko Matsakis-12/+3
also, avoid using type variables for fn args with omitted types unless necessary. This will be important for bound regions in fn types. fixes #2093
2012-04-25lots of work to make iface/impls parameterized by regionsNiko Matsakis-7/+7
- paths can now take region parameters, replacing the dirty hack I was doing before of abusing vstores. vstores are now a bit of a hack though. - fix various small bugs: - we never checked that iface types were compatible when casting to an iface with `as` - we allowed nonsense like int<int> - and more! (actually that may be it)
2012-04-25rustc: Use LLVM named structs for enum typesBrian Anderson-19/+20
2012-04-24Revert "rustc: Use LLVM named structs for enum types"Brian Anderson-20/+19
This reverts commit 6e909e387d1b71a8b813433ce834384ffb13fedf.
2012-04-24rustc: Use LLVM named structs for enum typesBrian Anderson-19/+20
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-14/+32
Issue #2201.
2012-04-17new debug flag, new testNiko Matsakis-5/+7
2012-04-17change printout to be what users will expectNiko Matsakis-1/+7
2012-04-16rewrite region resolution so it takes place in typeckNiko Matsakis-2/+1
2012-04-13add initial code re: slices to borrowing, improve ty_to_strNiko Matsakis-8/+33
2012-04-13first stab at type checking for borrow: not integrated into transNiko Matsakis-9/+27
2012-04-08Remove a FIXME note about closed issue #1001Haitao Li-1/+0
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-9/+12
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-05add static region and also fix regions to be contravariantNiko Matsakis-0/+1
2012-04-05utilities for indented logsNiko Matsakis-0/+18
2012-04-04wip: refactor repr of regionsNiko Matsakis-8/+19
- we now distinguish bound/free parameters (see region-param test case for why this is necessary) - we also track bounds on region variables - also, restructure fold_ty() to have multiple variants without duplication instead of one overloaded folder. This also allows for using block functions.
2012-04-01Fixing issue 1919. list_dir is the more general version that returns a ↵Jonathan Sternberg-1/+1
vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-4/+4