about summary refs log tree commit diff
path: root/src/test/run-pass/classes-simple.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-30/+0
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-3/+3
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-2/+2
2015-02-18Update suffixes en masse in tests using `perl -p -i -e`Niko Matsakis-2/+2
2014-01-26Fix privacy fallout from previous changeAlex Crichton-1/+1
2013-08-17Fix warnings it testsErick Tryzelaar-2/+2
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
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.