Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 30dbe3666d869e248dc44feaae0b30b370464506..f34718b9f204ff18eb51b2200ea80fbe028de71f 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -1999,4 +1999,15 @@ class _CompilerElementEnvironment implements ElementEnvironment { |
method.computeType(_resolution); |
return method.type; |
} |
+ |
+ @override |
+ ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) { |
+ return function.type; |
+ } |
+ |
+ @override |
+ ResolutionDartType getUnaliasedType(ResolutionDartType type) { |
+ type.computeUnaliased(_resolution); |
+ return type.unaliased; |
+ } |
} |