about summary refs log tree commit diff
path: root/src/test/compile-fail/writing-to-immutable-vec.rs
AgeCommit message (Collapse)AuthorLines
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-1/+1
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-08-20ReformatBrian Anderson-1/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-12Convert most working tests to ivecsBrian Anderson-1/+1
I tried to pay attention to what was actually being tested so, e.g. when I test was just using a vec as a boxed thing, I converted to boxed ints, etc. Haven't converted the macro tests yet. Not sure what to do there.
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-1/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-07-27Reformat for new syntaxMarijn Haverbeke-4/+1
2011-06-15Extend alias analysis to check assignmentsMarijn Haverbeke-4/+2
This is a somewhat odd place to put these checks, but the data tracked by that pass, and the available functions, make it trivial to do such a check there.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-1/+1
2011-05-03Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare-0/+2
2011-03-25Switch xfail system to use comments embedded in source files.Graydon Hoare-0/+1
2010-07-23Improve mutability checking. Closes #118.Graydon Hoare-0/+5