Index: lib/compiler/implementation/compiler.dart |
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart |
index 2725e1ee675e5d6e25329c38a68942a594538b74..6b2397e17e027f77f45867b7ea0e713b375d2599 100644 |
--- a/lib/compiler/implementation/compiler.dart |
+++ b/lib/compiler/implementation/compiler.dart |
@@ -336,7 +336,7 @@ class Compiler implements DiagnosticListener { |
closureClass = lookupSpecialClass(const SourceString('Closure')); |
dynamicClass = lookupSpecialClass(const SourceString('Dynamic')); |
nullClass = lookupSpecialClass(const SourceString('Null')); |
- types = new Types(dynamicClass); |
+ types = new Types(this, dynamicClass); |
if (!coreLibValid) { |
cancel('core library does not contain required classes'); |
} |
@@ -791,9 +791,9 @@ class Compiler implements DiagnosticListener { |
() => resolver.resolveFunctionExpression(element, node)); |
} |
- FunctionSignature resolveTypedef(TypedefElement element) { |
- return withCurrentElement(element, |
- () => resolver.resolveTypedef(element)); |
+ void resolveTypedef(TypedefElement element) { |
+ withCurrentElement(element, |
+ () => resolver.resolveTypedef(element)); |
} |
FunctionType computeFunctionType(Element element, |