Skip to content

Commit be73618

Browse files
committed
---
yaml --- r: 4941 b: refs/heads/master c: 48c6953 h: refs/heads/master i: 4939: 5faabc1 v: v3
1 parent 0950144 commit be73618

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 809a833e34176534886abf326cefaad4c6577099
2+
refs/heads/master: 48c695300192a4475889009b41b8f0ff6dc596bb

trunk/src/comp/syntax/parse/parser.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,11 +1119,8 @@ fn parse_prefix_expr(p: &parser) -> @ast::expr {
11191119
}
11201120
let lo = p.get_lo_pos();
11211121
let hi = p.get_hi_pos();
1122-
// FIXME: can only remove this sort of thing when both typestate and
1123-
// alt-exhaustive-match checking are co-operating.
11241122

1125-
let lit = @spanned(lo, lo, ast::lit_nil);
1126-
let ex: ast::expr_ = ast::expr_lit(lit);
1123+
let ex;
11271124
alt p.peek() {
11281125
token::NOT. {
11291126
p.bump();

0 commit comments

Comments
 (0)