about summary refs log tree commit diff
path: root/src/test/run-fail/unwind-lambda.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
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-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-3/+4
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-0/+1
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-10mode: reset mode on entry to fn body.Niko Matsakis-1/+1
This is an interim fix to address the "Beware!" unsoundness. I have a more comprehensive rewrite of mode.rs in the pipeline. r=pcwalton
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-4/+4
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-1/+1
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-1/+1
2012-01-10rename sendfn to fn~, lambda to fn@Niko Matsakis-2/+3
2012-01-09Remove proto_sugar and 'lambda' as keyword, commit to fn@.Graydon Hoare-1/+1
2011-09-12Merge branch 'unwind'Brian Anderson-0/+16
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-11Add some more unwind testsBrian Anderson-0/+16
They worked without modifications, but I wrote them so we're keeping them. Issue #236