Rafael Ávila de Espíndola
34643eeac8
Fix another import case we got wrong: The local environment should not
...
interfere with the import statements.
2011-01-11 13:59:52 -08:00
Rafael Ávila de Espíndola
c5a766f133
Fix two invalid import cases we were not detecting:
...
* 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-11 13:58:39 -08:00
Graydon Hoare
e96414a6f0
Further corrections to the Makefile rules covering failing tests.
2011-01-10 14:53:20 -08:00
Graydon Hoare
b5e62b04a0
Un-XFAIL drop-bind-thunk-args.rs.
2011-01-07 17:28:35 -08:00
Graydon Hoare
3b0e207109
Drop closures. Un-XFAIL bind-interior.rs.
2011-01-07 16:26:30 -08:00
Rafael Ávila de Espíndola
2fb09eb585
Add sufficient import support to compile some simple single-crate programs.
...
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-07 15:17:18 -08:00
Graydon Hoare
41f47054c8
Un-XFAIL bind-thunk.rs.
2011-01-06 12:56:07 -08:00
Graydon Hoare
f3f63da7c8
Translate trivial bindings. Un-XFAIL bind-trivial.rs.
2011-01-05 16:06:01 -08:00
Graydon Hoare
4fca7d61dd
Fix Yet Another Horrid Makefile Bug that was causing the run-fail tests to silently pass.
2011-01-04 17:57:51 -08:00
Graydon Hoare
7276f85f32
Fix another s/BREQ/SREQ/ in the makefile.
2011-01-04 17:37:51 -08:00
Graydon Hoare
d4c7cd5f8d
Change BREQ to SREQ in deps of compile-fail/%.rustc.out
2011-01-03 14:20:00 -08:00
Brian Anderson
c90d114d36
Use git log pretty printing arguments that are compatible with older versions of git
2011-01-03 11:06:52 -08:00
Brian Anderson
2ec4325fe9
Unset the RUST_LOG environment variable so that it doesn't interfere with the test suite
2011-01-03 10:43:44 -08:00
Graydon Hoare
2f6f0dcfbf
Un-XFAIL obj-drop and obj-with-vec.rs in rustc.
2010-12-31 15:25:24 -08:00
Graydon Hoare
a05b9c762a
Un-XFAIL obj-recursion.rs for rustc.
2010-12-31 13:02:01 -08:00
Graydon Hoare
0f914e6d35
Un-XFAIL stateful-obj.rs for rustc.
2010-12-30 17:01:44 -08:00
Graydon Hoare
ad19961c47
More mopping up wrong-named rules in the Makefile.
2010-12-29 17:46:22 -08:00
Graydon Hoare
454bf428ef
Remove LLVM rustboot backend.
2010-12-29 16:27:19 -08:00
Rafael Ávila de Espíndola
8d2fdac93b
Parse 'use' directives in rustc.
2010-12-24 17:03:46 -08:00
Rafael Ávila de Espíndola
e67234b29c
Handle missing ocaml bindings for LLVM.
2010-12-24 16:58:52 -08:00
Graydon Hoare
ed1dddc33f
Null-check on obj box ptr, init to null. Un-XFAIL simple-obj.rs.
2010-12-20 17:28:07 -08:00
Graydon Hoare
87b18f3539
Un-XFAIL tag.rs.
2010-12-16 23:25:32 -08:00
Patrick Walton
91c0cab61a
rustc: Un-XFAIL alt-pattern-simple.rs
2010-12-15 10:15:02 -08:00
Patrick Walton
42789c4b97
rustc: Fix bug involving extracting any variant element beyond the first. Un-XFAIL alt-tag.rs.
2010-12-15 10:11:33 -08:00
Graydon Hoare
525966a543
Fix a couple bugs in iter_sequence, un-XFAIL vec-drop.rs.
2010-12-13 17:48:42 -08:00
Graydon Hoare
a3cbdc661c
Set the new vec fill-size on the compiler side, as in rustboot. Un-XFAIL first 3 vec tests.
2010-12-13 11:16:04 -08:00
Graydon Hoare
3fa37eec9d
Un-XFAIL lazy-and-or.rs and operator-associativity.rs.
2010-12-09 16:35:22 -08:00
Graydon Hoare
9ee3475e09
Rewrite second pass of collect_item_types to use fold, therefore process all items in crate. Add testcase to check.
2010-12-09 16:06:40 -08:00
Graydon Hoare
9da8d11a52
Actually un-XFAIL drop-on-ret.rs.
2010-12-09 14:37:08 -08:00
Graydon Hoare
440e637edf
Fix boxed returns harder. Un-XFAIL output-slot-variants.rs.
2010-12-08 16:43:59 -08:00
Graydon Hoare
2b36a8eab4
Fix log upcall translation bug. Un-XFAIL rec-auto.rs.
2010-12-08 15:29:09 -08:00
Graydon Hoare
6ccfba34f3
Add missing case to parse_ty, un-XFAIL cast.rs.
2010-12-08 15:04:57 -08:00
Graydon Hoare
68af077e81
Implement binop= forms. Un-XFAIL bitwise.rs.
2010-12-08 14:50:47 -08:00
Graydon Hoare
b971d6312e
Fix missing case in resolve, un-XFAIL rec-tup.rs.
2010-12-08 11:52:34 -08:00
Patrick Walton
47f0729d38
rustc: Un-XFAIL test/run-pass/writealias.rs too
2010-12-07 12:40:57 -08:00
Patrick Walton
b5679c844e
rustc: Un-XFAIL readalias.rs
2010-12-07 12:38:51 -08:00
Graydon Hoare
fdb3a4e471
Un-XFAIL deref.rs and large-records.rs.
2010-12-06 18:53:16 -08:00
Graydon Hoare
a059b4720c
Null slots on missing init, null-check box ptrs on drop. Works around missing typestate pass. Un-XFAIL box-in-tup.rs.
2010-12-06 17:46:44 -08:00
Graydon Hoare
a98b2ebb4a
Change 'stratum' to the friendlier term 'layer'.
2010-12-03 12:15:32 -08:00
Graydon Hoare
d922b0ad9c
Drop slots on the way out of scopes. Un-XFAIL box.rs.
2010-12-02 19:44:24 -08:00
Graydon Hoare
df5f8f3e37
Add minimal test for box/deref.
2010-12-02 15:02:17 -08:00
Graydon Hoare
de9fc72cb4
Add test for non-exhaustive match failure.
2010-12-02 14:50:00 -08:00
Graydon Hoare
25b973df1b
Finish support for typechecking and translating records. Un-XFAIL rec.rs.
2010-11-30 10:39:35 -08:00
Graydon Hoare
7be7c23b6b
Copy args to allocas, change llargs lookups to 'in mem'. Un-XFAIL tup.rs.
2010-11-26 17:47:27 -08:00
Patrick Walton
f55f46af64
rustc: Typecheck whiles and do-whiles. Add a workaround to complex.rs pending a solution to the one-armed-if problem.
2010-11-23 17:02:08 -08:00
Patrick Walton
c20ea9e60a
rustc: Un-XFAIL compile-fail/arg-type-mismatch.rs.
2010-11-22 17:56:45 -08:00
Graydon Hoare
e05d7c3ac1
Support mach types in rustc, enable 5 more tests.
2010-11-22 17:41:32 -08:00
Patrick Walton
3e01b2d529
rustc: "Expected" and "actual" were swapped. Also un-XFAIL compile-fail/arg-count-mismatch.rs for good measure.
2010-11-22 17:38:23 -08:00
Graydon Hoare
d3cb25d5d1
Check and translate 'as' cast-operator, lower target-specific types, reindent rustc.rs, enable uint test.
2010-11-22 16:27:00 -08:00
Graydon Hoare
c262543d3b
Fix type disagreements in lowering typeck.ty to llvm TypeRefs, enable complex.rs test.
2010-11-22 14:28:05 -08:00