syntax: Eliminate 'mutable' keyword. Closes #2254

This commit is contained in:
Brian Anderson 2012-04-21 13:42:54 -07:00
parent 734494a04d
commit 7235f3cee2
9 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
// error-pattern:unsatisfied precondition
class cat {
priv {
let mutable meows : uint;
let mut meows : uint;
}
let how_hungry : int;

View file

@ -1,7 +1,7 @@
// error-pattern:assigning to immutable field
class cat {
priv {
let mutable meows : uint;
let mut meows : uint;
}
let how_hungry : int;

View file

@ -1,7 +1,7 @@
// error-pattern:assigning to immutable field
class cat {
priv {
let mutable meows : uint;
let mut meows : uint;
}
let how_hungry : int;