about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-09-01Remove a few more istr conversions. Issue #855Brian Anderson-5/+5
2011-09-01Allow istrs as patterns. Issue #855Brian Anderson-5/+21
2011-09-01Remove some uses of str_buf builtin. Issue #855Brian Anderson-3/+2
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-26/+24
2011-09-01Remove various istr conversions. Issue #855Brian Anderson-11/+13
2011-09-01Consolidate std::str tests into stdtest::strBrian Anderson-41/+28
2011-09-01Remove a bunch of string builtins. Issue #855Brian Anderson-8/+6
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-1/+1
2011-09-01Remove more functions from std::str. Issue #855Brian Anderson-21/+21
2011-09-01Convert std::test to istrs. Issue #855Brian Anderson-26/+26
2011-09-01Make resolve recognize upvarsMarijn Haverbeke-2/+2
Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body.
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-5/+5
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-08-31Start paring down std::str. Issue #855Brian Anderson-672/+344
2011-08-31Convert benchmarks to istrs. Issue #855Brian Anderson-103/+97
2011-08-31Check all paths return properly in blocks. Closes #874.Michael Sullivan-0/+5
2011-08-31Get rid of the hack that ignores () typed things in fn tail position.Michael Sullivan-2/+2
Closes #868. Unfortunately, this causes certain invalid programs to fail type-checking instead of failing type-state when a type-state error message would probably be more intuitive. (Although, by any reasonable interpretation of the static semantics, it technically ought to be a type error.)
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-110/+91
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-124/+43
Closes #799
2011-08-31Revert "Replace xfail-stageN with simply xfail-test"Marijn Haverbeke-40/+118
This reverts commit 574194f6bcfb90b9f8486002b83babc4c21208c0.
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-118/+40
Closes #799
2011-08-30Allow main to take istrs. Issue #855Brian Anderson-1/+3
2011-08-30Convert compiletest to istrs. Issue #855Brian Anderson-213/+248
2011-08-30Convert #env to istrs. Temporarily disable usage in rustc. Issue #855Brian Anderson-1/+1
2011-08-30Convert std::net to istrs. Issue #855Brian Anderson-11/+14
2011-08-30Support istrs as fail argument. Issue #855Brian Anderson-1/+1
2011-08-30Add #ifmt extension, like #fmt but for istrs. Issue #855Brian Anderson-153/+153
2011-08-30Remove the %S istr conversion from #fmtBrian Anderson-6/+0
I want to do the #fmt transition a different way. Issue #855
2011-08-30Un-xfail zip-same-lengthTim Chevalier-5/+3
There was a type error that was getting reported poorly. Fixed it. (Now to figure out why the error was reported so poorly...)
2011-08-30XFAIL zip-same-length -- that's ok, since it's a new testTim Chevalier-3/+5
2011-08-30Library test cases for vec::zipTim Chevalier-0/+60
2011-08-30Add a precondition on vec::zipTim Chevalier-1/+8
vec::zip now has the precondition that the two argument vectors are the same length. Changed uses of it to reflect that. Also added a few vector-enumerating utilities to vec.rs, which necessitated in making some functions in u8 declared-pure.
2011-08-30Test that fn preconditions get typecheckedTim Chevalier-0/+18
2011-08-29Implement non-internal ivecsMarijn Haverbeke-23/+13
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-27Add std::istr::as_buf for converting to cstrs. Issue #855Brian Anderson-1/+21
2011-08-27Support istrs in #fmt. Issue #855Brian Anderson-0/+6
The format string may be an istr and istr args may be used with %S
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-13/+15
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-2/+2
2011-08-27Convert std::generic_os to istrs. Issue #855Brian Anderson-14/+17
2011-08-27Add std::istr::str_from_cstr. Issue #855Brian Anderson-0/+9
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-35/+46
2011-08-27Convert std::run to istrs. Issue #855Brian Anderson-5/+8
2011-08-27Convert std::getopts to istrs. Issue #855Brian Anderson-140/+142
2011-08-27Convert the task-comm parts of compiletest to istrs. Issue #855Brian Anderson-61/+108
This reduces the amount of voodoo in compiletest considerably.
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-20/+29
2011-08-27Convert std::sha1 to istrs. Issue #855Brian Anderson-12/+12
2011-08-27Convert std::u64 to istrs. Issue #855Brian Anderson-3/+6
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-12/+16
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-24/+27
2011-08-26Polymorphic MapReduce!Eric Holk-0/+328
2011-08-26stdlib: more test cases for treemap.Eric Holk-1/+16