Skip to content

Commit 9ed5f82

Browse files
committed
---
yaml --- r: 985 b: refs/heads/master c: 67a6163 h: refs/heads/master i: 983: ef58fa1 v: v3
1 parent 54cbfa8 commit 9ed5f82

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-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: 42282a25c03182a19e80fb1a3294d3869859d6fa
2+
refs/heads/master: 67a616340d8e3a3af8cb2524736f824ea640b456

trunk/src/comp/middle/typeck.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@ fn collect_item_types(@ast.crate crate) -> tup(@ast.crate, @ty_table) {
434434
case (ast.item_mod(_, _, _)) {
435435
result = it.node;
436436
}
437+
case (ast.item_tag(_, _, _, _)) {
438+
result = it.node;
439+
}
437440
}
438441
items_t += vec(@fold.respan[ast.item_](it.span, result));
439442
}

0 commit comments

Comments
 (0)