about summary refs log tree commit diff
path: root/src/test/compile-fail/alt-join.rs
AgeCommit message (Collapse)AuthorLines
2011-08-20ReformatBrian Anderson-6/+3
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Make let bindings' scope start at their definitionMarijn Haverbeke-3/+1
Also, allow let bindings in a block to shadow each other.
2011-08-05Initialize all constraints to FalseTim Chevalier-0/+17
Previously, typestate was initializing the init constraint for a declared-but-not-initialized variable (like x in "let x;") to False, but other constraints to Don't-know. This led to over-lenient results when a variable was used before declaration (see the included test case). Now, everything gets initialized to False in the prestate/poststate- finding phase, and Don't-know should only be used in pre/postconditions. This aspect of the algorithm really needs formalization (just on paper), but for now, this closes #700