From 0830b5bf24a7117130e0089754cd96e51411284d Mon Sep 17 00:00:00 2001 From: Or Brostovski Date: Sat, 21 Aug 2010 02:41:43 +0300 Subject: Modified parser to handle alt type andadded a few tests ast.ml - modified arm types for easier polymorphism - fixed a bug in fmt_type_arm dead.ml - modified arm types for easier polymorphism common.ml - added 'either' - added some useful auxiliary functions item.ml - modified arm code to be more polymorphic and handle both alt-tag and alt-type, also fixed the problematic case in bad-alt.rs Makefile - added XFAIL for new alt-type test bad-alt.rs - added test for invalid alt syntax alt-type-simple.rs - added simple test for alt type --- src/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 1d79a467..10810c05 100644 --- a/src/Makefile +++ b/src/Makefile @@ -362,6 +362,7 @@ self: $(CFG_COMPILER) # of inter-task shutdown races introduced with notification proxies. TASK_XFAILS := test/run-pass/acyclic-unwind.rs \ + test/run-pass/alt-type-simple.rs \ test/run-pass/basic.rs \ test/run-pass/clone-with-exterior.rs \ test/run-pass/comm.rs \ -- cgit v1.2.3