Enable typestate_check

This was supposed to be in a previous commit. I don't know what happened.
This commit is contained in:
Tim Chevalier 2011-04-27 19:04:46 -07:00 committed by Graydon Hoare
parent 26e177a97a
commit 2c3808b511

View File

@ -84,8 +84,7 @@ fn compile_input(session.session sess,
auto typeck_result = typeck.check_crate(ty_cx, crate);
crate = typeck_result._0;
auto type_cache = typeck_result._1;
// FIXME: uncomment once typestate_check works
// crate = typestate_check.check_crate(crate);
crate = typestate_check.check_crate(crate);
trans.trans_crate(sess, crate, ty_cx, type_cache, output, shared,
optimize, verify, save_temps, ot);
}