about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-09-20Parse unique box typesBrian Anderson-0/+7
Issue #409
2011-09-20Remove bogus comments from run-pass/task-comm-3Brian Anderson-2/+0
2011-09-20Rehabilitate run-fail/trivial-message2Brian Anderson-13/+19
2011-09-20Remove a bogus comment from run-fail/spawnfailBrian Anderson-1/+0
2011-09-20Actually un-xfail task-comm-14Brian Anderson-1/+0
2011-09-20Rehabilitate task-comm-14Brian Anderson-8/+12
2011-09-20Add an assert to run-fail/unwind-altBrian Anderson-0/+1
Jesse reported not being able to reproduce this without the assert. May have to do with optimtizations.
2011-09-20Zero locals that are inited via alt expressions. Closes #945Brian Anderson-0/+12
2011-09-19Add tests for moving nullary functionsBrian Anderson-0/+19
I believe this was fixed by marijn recently. Closes #922
2011-09-19Un-xfail various testsBrian Anderson-9/+0
2011-09-19Un-xfail-fast run-pass/send-iloopBrian Anderson-2/+0
2011-09-19Remove a spurious error pattern from run-pass/linked-failureBrian Anderson-1/+0
2011-09-19Un-xfail two tests under check-fastBrian Anderson-2/+0
Closes #937. Fixed by majick.
2011-09-19Revert "xfail some tests that hang (instead of segfaulting) since eafb6789a2"Brian Anderson-5/+0
This reverts commit 5f44a1356e2b0adce5157f5e331ab9a55e891b0a. Issue #936
2011-09-19Check for the correct exit code on cfail tests. Closes #938Brian Anderson-3/+7
2011-09-19Build tuples in two phases to avoid cleaning up partial tuplesBrian Anderson-0/+13
2011-09-19Register tuple cleanups after the tuple is builtBrian Anderson-0/+9
Issue #936
2011-09-19Revert "Revert "xfail some tests that hang (instead of segfaulting) since ↵Brian Anderson-0/+5
eafb6789a2"" This reverts commit 6eabe6f3f4b80e8c96286e266db64dfd0e576963.
2011-09-19Revert "Check for the correct exit code on cfail tests. Closes #938"Brian Anderson-7/+3
This reverts commit c42401ebbc82d319c3003088db47f825d65fb9f7.
2011-09-19Revert "xfail some tests that hang (instead of segfaulting) since eafb6789a2"Brian Anderson-5/+0
This reverts commit 5f44a1356e2b0adce5157f5e331ab9a55e891b0a. Issue #936
2011-09-19Check for the correct exit code on cfail tests. Closes #938Brian Anderson-3/+7
2011-09-19Build records in two phases to avoid cleanups on partial recordsBrian Anderson-0/+16
2011-09-19Don't register record cleanups until the record is builtBrian Anderson-0/+11
2011-09-18xfail some tests that hang (instead of segfaulting) since eafb6789a2Marijn Haverbeke-0/+5
See issue #936
2011-09-16Make move-mode arguments unwind correctly. Closes #939Brian Anderson-0/+9
2011-09-16Saner approach to lvalues and callable values in transMarijn Haverbeke-3/+3
LValues no longer carry information about generics and objs, instead there's an extended form of lvalue, lval_maybe_callee, only used by call and bind, which holds this info. This makes it possible to take the value of a method and get a working closure, and will (with some more work) allow us to call statically known functions without loading from their pair. Closes #435 Closes #758
2011-09-16Un-xfail some task-comm testsBrian Anderson-29/+23
2011-09-16Yield after sendBrian Anderson-0/+28
2011-09-16Handle the case where a child task tries to kill a parent while it is dyingBrian Anderson-0/+23
Still looks pretty racy
2011-09-16Revert "Saner approach to lvalues and callable values in trans"Marijn Haverbeke-3/+3
This reverts commit 66153436c9070386786c8a38cde199b5d3e71289.
2011-09-16Require body of else-less if expressions to be a value-less blockMarijn Haverbeke-5/+5
For consistency with other constructs that could not possibly return a value (say, loops).
2011-09-16Saner approach to lvalues and callable values in transMarijn Haverbeke-3/+3
LValues no longer carry information about generics and objs, instead there's an extended form of lvalue, lval_maybe_callee, only used by call and bind, which holds this info. This makes it possible to take the value of a method and get a working closure, and will (with some more work) allow us to call statically known functions without loading from their pair. Closes #435 Closes #758
2011-09-16Remove autoderef for callsMarijn Haverbeke-28/+6
We were only using it in a single place, and there for no discernable reason (probably as part of the bare-fn-vals-are-not-copyable plan). It seems more surprising than useful.
2011-09-16Change convention for specifying referenced argumentMarijn Haverbeke-2/+2
It is now 1-based, rather than 0 based. (Seems more natural, and allows 0 to be used to refer to self and maybe to closure.) Also allows non-referenced args to be implicitly copied again. Issue #918
2011-09-15Add parens, as needed, around else-if conditions.Jesse Ruderman-2/+9
2011-09-15Add regression tests for previously ambiguous syntactic formsBrian Anderson-0/+37
2011-09-15Generalize expression roots in alias analysisMarijn Haverbeke-0/+9
This allows calls-returning-a-reference to count as expression roots, making it possible to return the result of such a call by reference. Issue #918
2011-09-15Add tests for returning by referenceMarijn Haverbeke-0/+92
Issue #918
2011-09-15Remove maybe_protect_block kludge from pretty-printerMarijn Haverbeke-35/+1
It is no longer needed.
2011-09-15Insert omitted semicolons for statementsMarijn Haverbeke-14/+12
2011-09-14xfail-fast run-pass/linked-failure.rs. Not sure what the problem is.Brian Anderson-1/+1
2011-09-14Unsupervise tasks before the scheduler kills them. Unblock before yield->failBrian Anderson-3/+2
2011-09-14Add a run-pass test for linked failureBrian Anderson-0/+24
2011-09-14Make failure propagation to dead parents workBrian Anderson-0/+71
The failure will basically go 'through' the dead parent and continue propagating the failure (as if the child was reparented).
2011-09-14Make linked task failure work againBrian Anderson-1/+0
2011-09-14Add another XFAILed test for failing destructorsBrian Anderson-0/+13
2011-09-14Add another unwind testBrian Anderson-0/+12
This makes sure that cleanups added after the first invoke in a scope are actually run on unwind
2011-09-14Add support for negative literals.Josh Matthews-0/+6
2011-09-13Print something when we can't figure out a tag name. Mitigates #876.Michael Sullivan-1/+1
2011-09-13Ensure that the declared type and actual type of a constant agreeMarijn Haverbeke-0/+4
Closes #899