about summary refs log tree commit diff
path: root/src/test/run-pass/expr-alt-box.rs
AgeCommit message (Collapse)AuthorLines
2013-05-27Change `alt` to `match` in filenames.Lindsey Kuper-28/+0
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-2/+2
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-08-23Remove match check from test casesTim Chevalier-2/+3
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-3/+3
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-2/+2
#2907.
2012-02-15Rewrite exhaustiveness checkerMarijn Haverbeke-2/+5
Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive.
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-07-27Reformat for new syntaxMarijn Haverbeke-5/+2
2011-06-28Use 'resource' rather than 'res' as a keywordMarijn Haverbeke-4/+4
Resources are now defined like... resource fd(int n) { close(n); } Calling fd with an int will then produce a non-copyable value that, when dropped, will call close on the given int.
2011-06-25Remove variable name 'res' from test suiteMarijn Haverbeke-4/+4
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-17/+8
2011-05-14Remove xfail-boot lines from testsBrian Anderson-1/+0
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-2/+2
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-2/+2
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-2/+2
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-04-02Add more tests for alt expressionsBrian Anderson-0/+27