We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68af077 commit 6ccfba3Copy full SHA for 6ccfba3
src/Makefile
@@ -526,6 +526,7 @@ TEST_XFAILS_SELF := $(filter-out \
526
bool-not.rs \
527
box.rs \
528
box-in-tup.rs \
529
+ cast.rs \
530
char.rs \
531
complex.rs \
532
dead-code-one-arm-if.rs \
src/comp/front/parser.rs
@@ -140,6 +140,7 @@ impure fn parse_ty(parser p) -> @ast.ty {
140
auto hi = lo;
141
let ast.ty_ t;
142
alt (p.peek()) {
143
+ case (token.BOOL) { p.bump(); t = ast.ty_bool; }
144
case (token.INT) { p.bump(); t = ast.ty_int; }
145
case (token.UINT) { p.bump(); t = ast.ty_int; }
146
case (token.STR) { p.bump(); t = ast.ty_str; }
0 commit comments