Skip to content

Commit ee134d1

Browse files
committed
---
yaml --- r: 1561 b: refs/heads/master c: e9fe47b h: refs/heads/master i: 1559: 0210d63 v: v3
1 parent 56763a1 commit ee134d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: e62424944b197e24025b149e2d4ba2347b76c8d8
2+
refs/heads/master: e9fe47b359c4f8fe0791b83ebf3a60301f539b5c

trunk/src/comp/middle/ty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ fn eq_ty(&@t a, &@t b) -> bool {
596596
fn ann_to_type(&ast.ann ann) -> @t {
597597
alt (ann) {
598598
case (ast.ann_none) {
599-
// shouldn't happen, but can until the typechecker is complete
600-
ret plain_ty(ty_var(-1)); // FIXME: broken, broken, broken
599+
log "ann_to_type() called on node with no type";
600+
fail;
601601
}
602602
case (ast.ann_type(?ty, _)) {
603603
ret ty;

0 commit comments

Comments
 (0)