aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach rustc about reserved keywordsBrian Anderson2011-02-227-0/+35
|
* Rename std._io to std.io since 'io' is no longer a keywordBrian Anderson2011-02-221-3/+3
|
* Implement sha-1 in standard library. Closes #228Brian Anderson2011-02-211-0/+115
|
* Add type parameters to tag typesPatrick Walton2011-02-171-1/+1
|
* Add support for unsigned binops. Closes #57Brian Anderson2011-02-141-0/+24
|
* Add alt-pattern-lit.rs test.Graydon Hoare2011-02-101-0/+17
|
* Cleanup for 'be' statement and comments about future typestateBrian Anderson2011-02-102-2/+2
|
* Add compile-fail tests for tail callsBrian Anderson2011-02-102-0/+23
|
* Fix bug in test and un-XFAIL 4 tests now passing on rustc.Graydon Hoare2011-02-091-1/+1
|
* Fix expressions with paths with more than one element.Rafael Avila de Espindola2011-02-071-0/+8
|
* Add support forRafael Avila de Espindola2011-02-071-0/+4
| | | | native mod foo = "bar" ...
* Parse function declarations.Rafael Ávila de Espíndola2011-02-041-0/+1
|
* Add most of the plumbing for native items and add support for parsing native ↵Rafael Ávila de Espíndola2011-02-021-0/+1
| | | | type declarations.
* Add very minimal support for native modules. For now they must be empty.Rafael Ávila de Espíndola2011-02-011-0/+5
|
* Reenable xfailed tests for rustboot that pass with trivial or no modificationsBrian Anderson2011-01-308-23/+23
|
* Correctly handle "import foo = bar.zed;".Rafael Ávila de Espíndola2011-01-281-0/+13
|
* Fix bug in box-unbox.rs test.Graydon Hoare2011-01-271-1/+1
|
* Resolve type paths.Rafael Ávila de Espíndola2011-01-271-2/+1
|
* Handle paths correctly. This lets us handle one more test :-)Rafael Ávila de Espíndola2011-01-271-0/+15
|
* Fix bug in generic-obj.rs testcase.Graydon Hoare2011-01-261-1/+1
|
* Fix test now that we look at the full error-pattern. Also enable it for rustc.Rafael Ávila de Espíndola2011-01-261-1/+1
|
* Print an error if we try to refer to a module in an expr_path.Rafael Ávila de Espíndola2011-01-251-0/+10
|
* Small first step in expr_path. Call find_final_def just to detectRafael Ávila de Espíndola2011-01-251-0/+8
| | | | | unresolved names. find_final_def is going to be extended to return the final expr.
* Un-XFAIL 7 tests that have begun working on rustc lately. Fix one bug in ↵Graydon Hoare2011-01-211-2/+2
| | | | mlist.rs.
* Implement dynamic GEP enough to permit expr_field to work on tup(T,T,T).Graydon Hoare2011-01-191-0/+10
|
* Look at the type params of an item_ty when resolving.Rafael Ávila de Espíndola2011-01-191-0/+5
|
* Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.Graydon Hoare2011-01-181-3/+2
|
* Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).Graydon Hoare2011-01-171-1/+1
|
* Enable more tests.Rafael Ávila de Espíndola2011-01-171-1/+1
|
* Fix the last known (to me) bug in import resolution. We were not properlyRafael Ávila de Espíndola2011-01-171-0/+19
| | | | | dropping the inner part of the environment when an intermediate item resolved in an outer scope.
* Fix the import handling in "complex" cases. When looking a.b.c and 'a' is aRafael Ávila de Espíndola2011-01-142-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.
* Add or enable some tests.Rafael Ávila de Espíndola2011-01-131-0/+13
|
* Produce better errors for invalid imports.Rafael Ávila de Espíndola2011-01-121-0/+6
|
* Fix another import case we got wrong: The local environment should notRafael Ávila de Espíndola2011-01-111-0/+10
| | | | interfere with the import statements.
* Fix two invalid import cases we were not detecting:Rafael Ávila de Espíndola2011-01-113-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'.
* Sketch support for reading multi-file crates in rustc. Add test, not yet ↵Graydon Hoare2011-01-103-0/+13
| | | | working.
* Further corrections to the Makefile rules covering failing tests.Graydon Hoare2011-01-108-6/+22
|
* Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson2011-01-101-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.
* Remove unused variable in circular_buffer testsBrian Anderson2011-01-101-2/+0
|
* Rename test to reflect that the circular_buffer runtime class is what's ↵Brian Anderson2011-01-101-0/+0
| | | | being tested
* Fix circular_buffer growth when _next != 0Brian Anderson2011-01-101-4/+29
|
* Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson2011-01-101-2/+18
| | | | is not a power of two
* Don't allow circular_buffer to shrink below it's initial sizeBrian Anderson2011-01-101-0/+10
|
* Fix the check for growing the circular_bufferBrian Anderson2011-01-101-0/+14
|
* Simplify the test for circular_buffer initializationBrian Anderson2011-01-101-11/+14
|
* Add sufficient import support to compile some simple single-crate programs.Rafael Ávila de Espíndola2011-01-072-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.
* Correctly initialize circular_buffer to a power-of-two bytesBrian Anderson2011-01-071-0/+36
|
* New test, bind-interior.rs.Graydon Hoare2011-01-061-0/+11
|
* Add testcase I meant to add in 9ee3475e09c8fce81b5b06365a7f70d029a80155.Graydon Hoare2011-01-031-0/+11
|
* Don't attempt to wake tasks that aren't blocked.Brian Anderson2011-01-031-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.