Index: dart/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 29908) |
+++ dart/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy) |
@@ -1204,7 +1204,7 @@ |
// available. |
assert(type.kind != TypeKind.TYPE_VARIABLE); |
assert(type.treatAsRaw || type.kind == TypeKind.FUNCTION); |
- if (type.treatAsDynamic) return this; |
+ if (type.isDynamic) return this; |
// The type element is either a class or the void element. |
Element element = type.element; |
if (identical(element, compiler.objectClass)) return this; |