Index: pkg/compiler/lib/src/js_model/elements.dart |
diff --git a/pkg/compiler/lib/src/js_model/elements.dart b/pkg/compiler/lib/src/js_model/elements.dart |
index aea3138f86274fccef6cf1f94b80d1cb29ce7885..20094d98733d56ce8ee31832569e13171956704e 100644 |
--- a/pkg/compiler/lib/src/js_model/elements.dart |
+++ b/pkg/compiler/lib/src/js_model/elements.dart |
@@ -109,7 +109,7 @@ class JsElementCreatorMixin { |
TypeVariableEntity createTypeVariable( |
Entity typeDeclaration, String name, int index) { |
- throw new UnsupportedError('JsElementCreatorMixin.createTypeVariable'); |
+ return new JTypeVariable(typeDeclaration, name, index); |
} |
IndexedConstructor createGenerativeConstructor( |