about summary refs log tree commit diff
path: root/src/rustc/middle/trans/impl.rs
AgeCommit message (Collapse)AuthorLines
2012-09-11Promote 'impl' from restricted keyword to strictBrian Anderson-571/+0
2012-09-10Convert std::map to camel caseBrian Anderson-1/+1
2012-09-10rustc: Long linesPatrick Walton-2/+5
2012-09-10Combine the vtable_origins from impl + method.Niko Matsakis-72/+106
Not as clean as it could be, but fixes #3314.
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-128/+228
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04Remove 'with'Brian Anderson-6/+6
2012-09-04rustc: "import" -> "use"Patrick Walton-19/+19
2012-08-27rustc: Avoid an allocation on every GEPiPatrick Walton-6/+6
2012-08-27rustc: fix the unused pattern vars warnings.Erick Tryzelaar-2/+2
2012-08-26Camel case the option typeBrian Anderson-20/+20
2012-08-24Eliminate match checks in trans and typeckTim Chevalier-7/+16
2012-08-22intern identifiersPaul Stansifer-2/+2
2012-08-22Track the type of self properly. Closes #3247.Michael Sullivan-21/+17
2012-08-21Fix generation of generic methods with explicit selfNiko Matsakis-26/+67
There used to be two distinct code paths. Now there is one.
2012-08-17Make by-val explicit self actually work. Closes #2585.Michael Sullivan-14/+24
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-3/+2
2012-08-14Make most forms of explicit self work. By-value not implemented. Work on #2585.Michael Sullivan-1/+15
2012-08-14Convert a couple hundred ~""s to ""s, in trans functions.Graydon Hoare-9/+9
2012-08-13Change "iid" identifiers (apparently "interface id") to "trait_id"Lindsey Kuper-5/+6
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-5/+59
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-2/+2
2012-08-06Auto-deref the base expr in trans_method_calleeTim Chevalier-0/+6
(specifically in the method_trait case) -- if you wrote x.f() and x has type @T for a trait T, x wasn't getting auto-deref'ed. This was bad. Closes #2935
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-12/+12
2012-08-05Switch alts to use arrowsBrian Anderson-24/+22
2012-08-02Extend ast_map to know about method declarations in traits.Michael Sullivan-0/+2
2012-08-01Convert ret to returnBrian Anderson-3/+3
2012-07-30rustc: "ifce" -> "trt" in identifiersLindsey Kuper-4/+4
2012-07-23Moved malloc and free upcalls into rust runtime.Elliott Slaughter-1/+1
2012-07-18rustc: Move ty::impl_traits over to a multiple-traits-per-impl worldPatrick Walton-2/+4
2012-07-16introduce an owned kind for data that contains no borrowed ptrsNiko Matsakis-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-11/+11
#2907.
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-2/+2
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-16/+16
2012-07-01Convert to new closure syntaxBrian Anderson-12/+10
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-12/+12
2012-06-28replace more vector + (issue #2719)Eric Holk-4/+8
2012-06-27rustc: Don't give variables the same name as enums in transPatrick Walton-8/+8
Conflicts: src/rustc/middle/trans/alt.rs src/rustc/middle/trans/base.rs src/rustc/middle/trans/closure.rs src/rustc/middle/trans/impl.rs src/rustc/middle/trans/uniq.rs
2012-06-26Some box cleanup that doesn't break the build.Michael Sullivan-1/+1
2012-06-25Comments only: fix some comments that got spurious /~sMichael Sullivan-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-15/+16
2012-06-19first steps to autoderef on method callsNiko Matsakis-10/+12
2012-06-07Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-05-29In reachability, don't ignore nested itemsTim Chevalier-1/+6
Reachability was considering nested items to be unreachable, which was causing the bug in #2383. Once I fixed that, I also had to make impl::make_impl_vtable instantiate methods where necessary, before calling monomorphic_fn. Closes #2383
2012-05-22Convert more resource tests to use classes with dtorsTim Chevalier-1/+5
And monomorphize dtors correctly.
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-2/+2
2012-05-14More work on reflection, now calls iface visitors back as well.Graydon Hoare-20/+15
2012-05-14First cut at dtors for classesTim Chevalier-1/+1
Classes with dtors should compile now. Haven't yet tested whether they actually run correctly. Beginnings of support for #2295, though that won't be done until there's more test cases and resources are removed.
2012-05-09reduce self type to a special type parameterNiko Matsakis-1/+1
2012-05-03Turn constants in back::abi into uints, and propagate typesTim Chevalier-6/+6
This means GEPi now takes a list of uints. Apologies in advance if this is hard to rebase against, but it gets rid of many a cast :-) Also modernized some for loops here and there.