summary refs log tree commit diff
path: root/src/test/run-pass/classes.rs
AgeCommit message (Collapse)AuthorLines
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-04-21syntax: Eliminate 'mutable' keyword. Closes #2254Brian Anderson-1/+1
2012-03-29Require "self" as base expression for intra-class method or field referencesTim Chevalier-7/+7
All field or method references within a class must begin with "self." now. A bare reference to a field or method in the same class will no longer typecheck.
2012-03-27Enforce mutability declarations in classes; correct shapes for classesTim Chevalier-3/+5
1. Enforce mutability declarations on class fields. Don't allow any mutation of class fields not declared as mutable (except inside the constructor). 2. Handle classes correctly in shape (treat classes like records).
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-23Allow methods to call other methods in the same classTim Chevalier-4/+13
2012-02-03Beginnings of front-end support for classesTim Chevalier-0/+29
Added class support to the parser, prettyprinter, fold, and visit. (See Issue 1726.) This is WIP -- the test case is xfailed, and attempting to compile it will error out in resolve.