| Index: lib/compiler/implementation/ssa/ssa.dart
|
| diff --git a/lib/compiler/implementation/ssa/ssa.dart b/lib/compiler/implementation/ssa/ssa.dart
|
| index d8e0b6bedc651ce2e0cfa76bdcbe09f7ab3c51fb..9ddc8de96f1b10d976fd768435e382846af34f79 100644
|
| --- a/lib/compiler/implementation/ssa/ssa.dart
|
| +++ b/lib/compiler/implementation/ssa/ssa.dart
|
| @@ -32,7 +32,7 @@ class RuntimeTypeInformation {
|
| String asJsString(InterfaceType type) {
|
| ClassElement element = type.element;
|
| StringBuffer buffer = new StringBuffer();
|
| - Link<Type> arguments = type.arguments;
|
| + Link<Type> arguments = type.typeArguments;
|
| int index = 0;
|
| element.typeParameters.forEach((name, _) {
|
| buffer.add("${name.slowToString()}: '${arguments.head}'");
|
| @@ -46,8 +46,8 @@ class RuntimeTypeInformation {
|
| bool hasTypeArguments(Type type) {
|
| if (type is InterfaceType) {
|
| InterfaceType interfaceType = type;
|
| - return (!interfaceType.arguments.isEmpty() &&
|
| - interfaceType.arguments.tail.isEmpty());
|
| + return (!interfaceType.typeArguments.isEmpty() &&
|
| + interfaceType.typeArguments.tail.isEmpty());
|
| }
|
| return false;
|
| }
|
|
|