We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56763a1 commit ee134d1Copy full SHA for ee134d1
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: e62424944b197e24025b149e2d4ba2347b76c8d8
+refs/heads/master: e9fe47b359c4f8fe0791b83ebf3a60301f539b5c
trunk/src/comp/middle/ty.rs
@@ -596,8 +596,8 @@ fn eq_ty(&@t a, &@t b) -> bool {
596
fn ann_to_type(&ast.ann ann) -> @t {
597
alt (ann) {
598
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
+ log "ann_to_type() called on node with no type";
+ fail;
601
}
602
case (ast.ann_type(?ty, _)) {
603
ret ty;
0 commit comments