about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-01-27Resolve type paths.Rafael Ávila de Espíndola-2/+1
2011-01-27Handle paths correctly. This lets us handle one more test :-)Rafael Ávila de Espíndola-0/+15
2011-01-26Fix bug in generic-obj.rs testcase.Graydon Hoare-1/+1
2011-01-26Fix test now that we look at the full error-pattern. Also enable it for rustc.Rafael Ávila de Espíndola-1/+1
2011-01-25Print an error if we try to refer to a module in an expr_path.Rafael Ávila de Espíndola-0/+10
2011-01-25Small first step in expr_path. Call find_final_def just to detectRafael Ávila de Espíndola-0/+8
unresolved names. find_final_def is going to be extended to return the final expr.
2011-01-21Un-XFAIL 7 tests that have begun working on rustc lately. Fix one bug in ↵Graydon Hoare-2/+2
mlist.rs.
2011-01-19Implement dynamic GEP enough to permit expr_field to work on tup(T,T,T).Graydon Hoare-0/+10
2011-01-19Look at the type params of an item_ty when resolving.Rafael Ávila de Espíndola-0/+5
2011-01-18Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.Graydon Hoare-3/+2
2011-01-17Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).Graydon Hoare-1/+1
2011-01-17Enable more tests.Rafael Ávila de Espíndola-1/+1
2011-01-17Fix the last known (to me) bug in import resolution. We were not properlyRafael Ávila de Espíndola-0/+19
dropping the inner part of the environment when an intermediate item resolved in an outer scope.
2011-01-14Fix the import handling in "complex" cases. When looking a.b.c and 'a' is aRafael Ávila de Espíndola-0/+23
module, we should look for 'b' *just* in the module 'a' and then continue resolving b.c in the environment created by updating *with* a. Still not 100% correct, but getting there.
2011-01-13Add or enable some tests.Rafael Ávila de Espíndola-0/+13
2011-01-12Produce better errors for invalid imports.Rafael Ávila de Espíndola-0/+6
2011-01-11Fix another import case we got wrong: The local environment should notRafael Ávila de Espíndola-0/+10
interfere with the import statements.
2011-01-11Fix two invalid import cases we were not detecting:Rafael Ávila de Espíndola-5/+28
* If an import was unused we would never print any errors for it. * We would keep the existing environment in scope when descending 'foo.bar' and would find 'bar' in the global environment if there was no 'bar' in 'foo'.
2011-01-10Sketch support for reading multi-file crates in rustc. Add test, not yet ↵Graydon Hoare-0/+13
working.
2011-01-10Further corrections to the Makefile rules covering failing tests.Graydon Hoare-6/+22
2011-01-10Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson-0/+20
It was not obvious how to make this implementation work when the unit size was not also a power of two, so for now just make the buffer size a multiple of the unit size so it can pass all the tests.
2011-01-10Remove unused variable in circular_buffer testsBrian Anderson-2/+0
2011-01-10Rename test to reflect that the circular_buffer runtime class is what's ↵Brian Anderson-0/+0
being tested
2011-01-10Fix circular_buffer growth when _next != 0Brian Anderson-4/+29
2011-01-10Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson-2/+18
is not a power of two
2011-01-10Don't allow circular_buffer to shrink below it's initial sizeBrian Anderson-0/+10
2011-01-10Fix the check for growing the circular_bufferBrian Anderson-0/+14
2011-01-10Simplify the test for circular_buffer initializationBrian Anderson-11/+14
2011-01-07Add sufficient import support to compile some simple single-crate programs.Rafael Ávila de Espíndola-0/+21
This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step.
2011-01-07Correctly initialize circular_buffer to a power-of-two bytesBrian Anderson-0/+36
2011-01-06New test, bind-interior.rs.Graydon Hoare-0/+11
2011-01-03Add testcase I meant to add in 9ee3475e09c8fce81b5b06365a7f70d029a80155.Graydon Hoare-0/+11
2011-01-03Don't attempt to wake tasks that aren't blocked.Brian Anderson-0/+36
It's possible for a supervised task to kill and wake its supervising task then immediately try to wake it again if the supervising task has joined the supervised. This is the easiest way to prevent that.
2010-12-24Parse 'import' directives in rustc.Rafael Ávila de Espíndola-0/+7
2010-12-24Parse 'use' directives in rustc.Rafael Ávila de Espíndola-0/+14
2010-12-21Add std.sort, with a simple mergesort.Graydon Hoare-0/+50
2010-12-13Syntax tweak: move 'mutable' from pseudo-ty-param on vec ctor to ↵Graydon Hoare-4/+3
low-precedence prefix inside paren.
2010-12-02Add minimal test for box/deref.Graydon Hoare-0/+4
2010-12-02Add test for non-exhaustive match failure.Graydon Hoare-0/+15
2010-11-23rustc: Typecheck whiles and do-whiles. Add a workaround to complex.rs ↵Patrick Walton-1/+2
pending a solution to the one-armed-if problem.
2010-11-19Isolate while-header bug to minimal testcase, fix in rustboot, remove ↵Graydon Hoare-0/+22
workaround in rustc.
2010-11-09Implement a map2() function in std._vecPatrick Walton-1/+18
2010-11-09Support a special const-value refcount, use it for const strings.Graydon Hoare-7/+16
2010-11-08Add a check for binding an alias. Good thing, as we had two instances in our ↵Graydon Hoare-0/+7
library.
2010-11-05test_init_fn() in lib-vec.rs doesn't seem to segfault anymore. Un-XFAIL it.Patrick Walton-1/+1
2010-11-05Move the option type to its own modulePatrick Walton-1/+1
2010-11-04Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare-0/+14
2010-11-02Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare-13/+13
impure-effect checking.
2010-11-02First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare-42/+42
2010-10-28rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton-15/+15
value