aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix #335, log context needs to be a scope to capture cleanups.Graydon Hoare2011-04-201-0/+6
|
* Add testcase for bootstrap blocker and fix for each result type to nil.Graydon Hoare2011-04-191-0/+22
|
* Un-XFAIL a few recently passing tests.Graydon Hoare2011-04-196-8/+0
|
* rustc: Make structured comparison glue instead of emitting it inlinePatrick Walton2011-04-192-1/+10
|
* Handle nested items correctly in typestate_checkTim Chevalier2011-04-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Summary says it all. Actually, only nested objects and functions are handled, but that's better than before. The fold that I was using before to traverse a crate wasn't working correctly, because annotations have to reflect the number of local variables of the nearest enclosing function (in turn, because annotations are represented as bit vectors). The fold was traversing the AST in the wrong order, first filling in the annotations correctly, but then re-traversing them with the bit vector length for any outer nested functions, and so on. Remedying this required writing a lot of tedious boilerplate code because I scrapped the idea of using a fold altogether. I also made typestate_check handle unary, field, alt, and fail. Also, some miscellaneous changes: * added annotations to blocks in typeck * fix pprust so it can handle spawn * added more logging functions in util.common * fixed _vec.or * added maybe and from_maybe in option * removed fold_block field from ast_fold, since it was never used
* Remove effect system from src.Graydon Hoare2011-04-1943-119/+98
|
* Precision overrides 0-padding in #fmtBrian Anderson2011-04-181-1/+11
|
* Left-justification overrides 0-padding in #fmtBrian Anderson2011-04-181-1/+11
|
* Support 0 flag in #fmtBrian Anderson2011-04-181-0/+17
|
* Remove use of 'use' from type-params-in-for-each.rs, put out darwin fire.Graydon Hoare2011-04-181-3/+9
|
* Support the space flag in #fmtBrian Anderson2011-04-171-0/+9
|
* Support + flag in #fmtBrian Anderson2011-04-171-0/+5
|
* Support #fmt precision for bools, with same rules as stringsBrian Anderson2011-04-171-0/+8
| | | | | Not totally confident this is desirable. The alternative would be to make it a compile error.
* Fix indentation in syntax-extension-fmt.rsBrian Anderson2011-04-171-44/+44
|
* Treat char #fmt conversions just like str conversionsBrian Anderson2011-04-171-0/+6
| | | | Add missing tests
* Support #fmt precision for signed typesBrian Anderson2011-04-171-12/+20
|
* Support #fmt precision for unsigned typesBrian Anderson2011-04-171-16/+16
|
* Support #fmt precision for string typesBrian Anderson2011-04-171-0/+37
|
* Support left-justification in #fmt conversionsBrian Anderson2011-04-161-0/+10
|
* Add another test for #fmt conversion widthsBrian Anderson2011-04-161-0/+1
|
* Make #fmt support explicit conversion widthsBrian Anderson2011-04-161-0/+10
|
* More tests for #fmtBrian Anderson2011-04-161-0/+7
|
* rustc: Capture type parameters into for-each blocks. Add a test case.Patrick Walton2011-04-151-0/+11
|
* Work on destructors, not entirely functional yet (no tydesc integration).Graydon Hoare2011-04-141-0/+18
|
* rustc: Add a test case for previous commitPatrick Walton2011-04-141-0/+11
|
* Add support for upper-case hex and binary output to #fmt.Brian Anderson2011-04-132-0/+13
| | | | Only works for uints at present. Necessitated the addition of _str.to_upper.
* Add support for printing uints as lower-case hex to ExtFmt.Brian Anderson2011-04-131-0/+1
| | | | | Begin passing an ExtFmt.RT.conv parsed format description to each of the ExtFmt.RT.conv* functions.
* Add ExtFmt test for unsigned typeBrian Anderson2011-04-131-0/+1
|
* Fix a typo in test expr-alt-generic-box1.rsBrian Anderson2011-04-131-1/+1
|
* Remove gc() call from end of lib-map.rs, works on stage0 otherwise (stage0 ↵Graydon Hoare2011-04-131-2/+0
| | | | produces no gc info)
* Fix temporary-spilling logic in trans_args, uncomment most of lib-deque.rs ↵Graydon Hoare2011-04-131-10/+0
| | | | (which now passes on stage0).
* Add generic-temporary.rs minimal test showing cause of lib-deque.rs failure ↵Graydon Hoare2011-04-131-0/+21
| | | | on stage0.
* Fix lib-deque.rs to pass typarams by alias.Graydon Hoare2011-04-131-6/+6
|
* Slight updates to match API drift in io, lib-io.rs passes.Graydon Hoare2011-04-131-4/+4
|
* Un-XFAIL generic-tag-corruption.rs.Graydon Hoare2011-04-121-2/+0
|
* Add support for bool, char to extfmt.Brian Anderson2011-04-111-3/+10
| | | | XFAIL syntax-extension-fmt in rustboot.
* Add new minimal testcase showing generic tag memory corruption.Graydon Hoare2011-04-111-0/+6
|
* Implement the "attempted dynamic environment-capture" error in rustc.Rafael Ávila de Espíndola2011-04-112-0/+30
|
* Un-XFAIL expr-block-fn.rsBrian Anderson2011-04-101-1/+0
| | | | It mysteriously works now.
* Disable effect checking in rustbootMarijn Haverbeke2011-04-086-52/+0
|
* Add a test case for calling generic functions taking alias args with box typesBrian Anderson2011-04-071-0/+13
|
* Add an XFAILed test for blocks that result in functionsBrian Anderson2011-04-071-0/+15
|
* Make block results work for generic typesBrian Anderson2011-04-079-40/+174
| | | | | | | I think just about every type can be used as a block result now. There's quite a proliferation of tests here, but they all test slightly different things and some are split out to remain XFAILed. The tests of generic vectors are still XFAILed because generic aliased boxes still don't work in general.
* Updated test to use 'check' rather than just logging results.Lindsey Kuper2011-04-071-5/+3
|
* Support for self-calls that take arguments.Lindsey Kuper2011-04-072-0/+50
| | | | | | | Nicer parsing of self-calls (expr_self_method nodes inside expr_call nodes, rather than a separate expr_call_self) makes typechecking tractable. We can now write self-calls that take arguments and return values (see: test/run-pass/obj-self-*.rs).
* "xfail-stage0", not "XFAIL-stage0"Patrick Walton2011-04-071-1/+1
|
* XFAIL lib-option.rs in stage0 due to crash on Darwin on tinderboxPatrick Walton2011-04-071-0/+1
|
* Fix effect on deref-lvalPatrick Walton2011-04-071-1/+1
|
* rustc: Allow dereference expressions to be used as lvalues. Add a test case.Patrick Walton2011-04-071-0/+6
|
* rustc: Link to external tag discriminants. Un-XFAIL test/run-pass/lib-option.rs.Patrick Walton2011-04-071-2/+1
|