Skip to content

Commit 3dfb176

Browse files
committed
---
yaml --- r: 1373 b: refs/heads/master c: c89460b h: refs/heads/master i: 1371: 01d0ad6 v: v3
1 parent 860317f commit 3dfb176

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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: a396652766bc6aa2b4526ddd9807439ecd12033a
2+
refs/heads/master: c89460bb659e1af1a3618cfe8d7fa304e531916d

trunk/src/comp/front/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,7 @@ fn index_arm(@ast.pat pat) -> hashmap[ast.ident,ast.def_id] {
13311331
alt (pat.node) {
13321332
case (ast.pat_bind(?i, ?def_id, _)) { index.insert(i, def_id); }
13331333
case (ast.pat_wild(_)) { /* empty */ }
1334+
case (ast.pat_lit(_, _)) { /* empty */ }
13341335
case (ast.pat_tag(_, ?pats, _, _)) {
13351336
for (@ast.pat p in pats) {
13361337
do_index_arm(index, p);

0 commit comments

Comments
 (0)