about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-02-14Add support for unsigned binops. Closes #57Brian Anderson-0/+24
2011-02-10Add alt-pattern-lit.rs test.Graydon Hoare-0/+17
2011-02-10Cleanup for 'be' statement and comments about future typestateBrian Anderson-2/+2
2011-02-10Add compile-fail tests for tail callsBrian Anderson-0/+23
2011-02-09Fix bug in test and un-XFAIL 4 tests now passing on rustc.Graydon Hoare-1/+1
2011-02-07Fix expressions with paths with more than one element.Rafael Avila de Espindola-0/+8
2011-02-07Add support forRafael Avila de Espindola-0/+4
native mod foo = "bar" ...
2011-02-04Parse function declarations.Rafael Ávila de Espíndola-0/+1
2011-02-02Add most of the plumbing for native items and add support for parsing native ↵Rafael Ávila de Espíndola-0/+1
type declarations.
2011-02-01Add very minimal support for native modules. For now they must be empty.Rafael Ávila de Espíndola-0/+5
2011-01-30Reenable xfailed tests for rustboot that pass with trivial or no modificationsBrian Anderson-23/+23
2011-01-28Correctly handle "import foo = bar.zed;".Rafael Ávila de Espíndola-0/+13
2011-01-27Fix bug in box-unbox.rs test.Graydon Hoare-1/+1
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.