Skip to content

Commit 94512e9

Browse files
committed
---
yaml --- r: 4649 b: refs/heads/master c: 1ba9af9 h: refs/heads/master i: 4647: 796d03b v: v3
1 parent cdc1676 commit 94512e9

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: 8e92be3b94d4e2051bf132028ac3bcb6af4ad644
2+
refs/heads/master: 1ba9af92bfc61e4a9a211558501f03c8e04a4da8

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,11 +744,8 @@ fn mk_mac_expr(p: &parser, lo: uint, hi: uint, m: &ast::mac_) -> @ast::expr {
744744
fn parse_bottom_expr(p: &parser) -> @ast::expr {
745745
let lo = p.get_lo_pos();
746746
let hi = p.get_hi_pos();
747-
// FIXME: can only remove this sort of thing when both typestate and
748-
// alt-exhaustive-match checking are co-operating.
749747

750-
let lit = @spanned(lo, hi, ast::lit_nil);
751-
let ex: ast::expr_ = ast::expr_lit(lit);
748+
let ex: ast::expr_;
752749
if p.peek() == token::LPAREN {
753750
p.bump();
754751
alt p.peek() {

0 commit comments

Comments
 (0)