summary refs log tree commit diff
path: root/src/rustc/middle/check_loop.rs
AgeCommit message (Collapse)AuthorLines
2012-09-04Remove 'with'Brian Anderson-4/+4
2012-09-04rustc: "import" -> "use"Patrick Walton-3/+3
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-3/+3
2012-08-13rustc: Mostly implement region-bounded stack closuresPatrick Walton-1/+2
2012-08-10Revert "rustc: Make function types have vstores in them"Patrick Walton-2/+1
This reverts commit 0101125a962abae18525d6014cd26ad10bbb96e6.
2012-08-10rustc: Make function types have vstores in themPatrick Walton-1/+2
2012-08-10Change 'ret' to 'return' in an error messageBrian Anderson-1/+1
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-9/+9
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-3/+3
#2907.
2012-07-14Change cont out of loop error to again out of loopZack Corr-2/+2
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-05-15Remove `be` keyword.Lindsey Kuper-6/+0
Closes #2227.
2012-05-10Remove `do { ... } while ...` from the language.Paul Stansifer-1/+1
2012-05-04new cap clause syntaxNiko Matsakis-2/+2
2012-04-06Remove support for old-style forMarijn Haverbeke-1/+1
Closes #1619
2012-03-27Support returning from loop blocksMarijn Haverbeke-1/+2
The code is somewhat invasive, but it seems hard to do this in a clean way, since the design itself involves a bunch of 'action at a distance'. Issue #1819
2012-03-27Support an alternate for syntax that calls a higher-order functionMarijn Haverbeke-7/+10
The last argument of the call must be a block, and the type of this argument must a function returning bool. `break` and `cont` are supported in the body of the block, and return `false` or `true` from the function. When the end of the function is reached, `true` is implicitly returned. for vec::all([1, 2, 3]) {|elt| if elt == 2 { break; } log(error, elt); } Issue #1619
2012-03-26Check in a forgotten new fileMarijn Haverbeke-0/+54