about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-04-23Fix busted iter/put code. Un-XFAIL foreach-box-drop.rs.Graydon Hoare-2/+0
2011-04-22New minimal test for current stage2 blocker.Graydon Hoare-0/+17
2011-04-21test: Un-XFAIL drop-parametric-closure-with-bound-box.rs, oops.Patrick Walton-2/+0
2011-04-21test: XFAIL lib-box on stage0. Upstream LLVM doesn't have the library ↵Patrick Walton-0/+4
reading patch yet.
2011-04-21stdlib: Add a pointer equality function to the standard library and a test casePatrick Walton-0/+12
2011-04-20Fix #335, log context needs to be a scope to capture cleanups.Graydon Hoare-0/+6
2011-04-19Add testcase for bootstrap blocker and fix for each result type to nil.Graydon Hoare-0/+22
2011-04-19Un-XFAIL a few recently passing tests.Graydon Hoare-8/+0
2011-04-19rustc: Make structured comparison glue instead of emitting it inlinePatrick Walton-1/+10
2011-04-19Handle nested items correctly in typestate_checkTim Chevalier-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
2011-04-19Remove effect system from src.Graydon Hoare-119/+98
2011-04-18Precision overrides 0-padding in #fmtBrian Anderson-1/+11
2011-04-18Left-justification overrides 0-padding in #fmtBrian Anderson-1/+11
2011-04-18Support 0 flag in #fmtBrian Anderson-0/+17
2011-04-18Remove use of 'use' from type-params-in-for-each.rs, put out darwin fire.Graydon Hoare-3/+9
2011-04-17Support the space flag in #fmtBrian Anderson-0/+9
2011-04-17Support + flag in #fmtBrian Anderson-0/+5
2011-04-17Support #fmt precision for bools, with same rules as stringsBrian Anderson-0/+8
Not totally confident this is desirable. The alternative would be to make it a compile error.
2011-04-17Fix indentation in syntax-extension-fmt.rsBrian Anderson-44/+44
2011-04-17Treat char #fmt conversions just like str conversionsBrian Anderson-0/+6
Add missing tests
2011-04-17Support #fmt precision for signed typesBrian Anderson-12/+20
2011-04-17Support #fmt precision for unsigned typesBrian Anderson-16/+16
2011-04-17Support #fmt precision for string typesBrian Anderson-0/+37
2011-04-16Support left-justification in #fmt conversionsBrian Anderson-0/+10
2011-04-16Add another test for #fmt conversion widthsBrian Anderson-0/+1
2011-04-16Make #fmt support explicit conversion widthsBrian Anderson-0/+10
2011-04-16More tests for #fmtBrian Anderson-0/+7
2011-04-15rustc: Capture type parameters into for-each blocks. Add a test case.Patrick Walton-0/+11
2011-04-14Work on destructors, not entirely functional yet (no tydesc integration).Graydon Hoare-0/+18
2011-04-14rustc: Add a test case for previous commitPatrick Walton-0/+11
2011-04-13Add support for upper-case hex and binary output to #fmt.Brian Anderson-0/+13
Only works for uints at present. Necessitated the addition of _str.to_upper.
2011-04-13Add support for printing uints as lower-case hex to ExtFmt.Brian Anderson-0/+1
Begin passing an ExtFmt.RT.conv parsed format description to each of the ExtFmt.RT.conv* functions.
2011-04-13Add ExtFmt test for unsigned typeBrian Anderson-0/+1
2011-04-13Fix a typo in test expr-alt-generic-box1.rsBrian Anderson-1/+1
2011-04-13Remove gc() call from end of lib-map.rs, works on stage0 otherwise (stage0 ↵Graydon Hoare-2/+0
produces no gc info)
2011-04-13Fix temporary-spilling logic in trans_args, uncomment most of lib-deque.rs ↵Graydon Hoare-10/+0
(which now passes on stage0).
2011-04-13Add generic-temporary.rs minimal test showing cause of lib-deque.rs failure ↵Graydon Hoare-0/+21
on stage0.
2011-04-13Fix lib-deque.rs to pass typarams by alias.Graydon Hoare-6/+6
2011-04-13Slight updates to match API drift in io, lib-io.rs passes.Graydon Hoare-4/+4
2011-04-12Un-XFAIL generic-tag-corruption.rs.Graydon Hoare-2/+0
2011-04-11Add support for bool, char to extfmt.Brian Anderson-3/+10
XFAIL syntax-extension-fmt in rustboot.
2011-04-11Add new minimal testcase showing generic tag memory corruption.Graydon Hoare-0/+6
2011-04-11Implement the "attempted dynamic environment-capture" error in rustc.Rafael Ávila de Espíndola-0/+30
2011-04-10Un-XFAIL expr-block-fn.rsBrian Anderson-1/+0
It mysteriously works now.
2011-04-08Disable effect checking in rustbootMarijn Haverbeke-52/+0
2011-04-07Add a test case for calling generic functions taking alias args with box typesBrian Anderson-0/+13
2011-04-07Add an XFAILed test for blocks that result in functionsBrian Anderson-0/+15
2011-04-07Make block results work for generic typesBrian Anderson-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.
2011-04-07Updated test to use 'check' rather than just logging results.Lindsey Kuper-5/+3
2011-04-07Support for self-calls that take arguments.Lindsey Kuper-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).