about summary refs log tree commit diff
path: root/src/test/run-pass/classes-simple.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-02-25test: Residual de-muting of the test suite. rs=demutingPatrick Walton-5/+4
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-11Remove priv sections from classes. Obsolete the syntaxBrian Anderson-3/+1
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-2/+2
2012-09-06Remove struct ctorsBrian Anderson-1/+7
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-03-28Allow references to "self" within classesTim Chevalier-1/+1
Allow writing self.f within a class that has a field f. Currently, the compiler accepts either self.f or f. In a future commit I'll require writing self.f and not f. Not sure whether self.f() works if f is a method (making sure that works next).
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-16Encode both private and public class fields in metadataTim Chevalier-2/+0
This is necessary to calculate the correct offsets for field references. Simple cross-crate class tests (still with fields only) now pass.
2012-03-04test: xfail-fast run-pass/classes-simple.rsBrian Anderson-0/+2
2012-03-04Translate simple classesTim Chevalier-4/+3
Programs using classes with fields only (no methods) compile and run, as long as nothing refers to a class in a different crate (todo). Also changed the AST representation of classes to have a separate record for constructor info (instead of inlining the fields in the item_class node), and fixed up spans and pretty-printing for classes.
2012-02-20Re-XFAIL test that I accidentallyTim Chevalier-0/+1
2012-02-20fix whitespace againTim Chevalier-2/+1
2012-02-20Further work on resolving and typechecking classesTim Chevalier-0/+7
Class tests aren't working yet, but they fail a little later :-) Also, make the parser correctly set a constructor's result type to its enclosing class type.
2012-02-09Further WIP on classesTim Chevalier-0/+10
Changes to resolve and typeck. Still nothning working yet.