Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java |
=================================================================== |
--- compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (revision 409) |
+++ compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (working copy) |
@@ -636,7 +636,6 @@ |
checkAssignable(conditionNode, boolType, condition); |
jat
2011/10/13 21:03:01
I know this is pre-existing code, but it seems lik
ahe
2011/10/13 21:19:41
What is it you think is wrong here? This is the *s
jat
2011/10/13 21:21:52
Ok, so if the type isn't known, checkAssignable wi
John Lenz
2011/10/13 21:35:43
I think that should be fine. x is dynamic and the
|
break; |
} |
- checkAssignable(stringType, node.getMessage()); |
return voidType; |
} |