Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index a677083acc9c39edb01c70a08aa07b2130d3097a..e5f3477e38d8f85eb02396c7d4cb2c4836a827e9 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -1117,12 +1117,12 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
if (notTypeNode != null) { |
// `e is! T`. |
Node typeNode = notTypeNode.receiver; |
- type = resolveTypeAnnotation(typeNode); |
+ type = resolveTypeAnnotation(typeNode, registerCheckedModeCheck: false); |
sendStructure = new IsNotStructure(type); |
} else { |
// `e is T`. |
Node typeNode = node.arguments.head; |
- type = resolveTypeAnnotation(typeNode); |
+ type = resolveTypeAnnotation(typeNode, registerCheckedModeCheck: false); |
sendStructure = new IsStructure(type); |
} |
@@ -1144,7 +1144,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
visitExpression(expression); |
Node typeNode = node.arguments.head; |
- DartType type = resolveTypeAnnotation(typeNode); |
+ DartType type = |
+ resolveTypeAnnotation(typeNode, registerCheckedModeCheck: false); |
// GENERIC_METHODS: Method type variables are not reified so we must warn |
// about the error which will occur at runtime. |