| Index: lib/compiler/implementation/typechecker.dart
|
| diff --git a/lib/compiler/implementation/typechecker.dart b/lib/compiler/implementation/typechecker.dart
|
| index 8918e9a7a5fed736cfd0fb888b00e08241e9b47a..aa6891976f43dcf3c4b610b6a68172a6a3a6b6b5 100644
|
| --- a/lib/compiler/implementation/typechecker.dart
|
| +++ b/lib/compiler/implementation/typechecker.dart
|
| @@ -133,7 +133,7 @@ class Types {
|
|
|
| // TODO(karlklose): should we have a class Void?
|
| Types.with(Element dynamicElement, LibraryElement library)
|
| - : voidType = new VoidType(new VoidElement(library)),
|
| + : voidType = new VoidType(new VoidElement(library.entryCompilationUnit)),
|
| dynamicType = new InterfaceType(dynamicElement);
|
|
|
| /** Returns true if t is a subtype of s */
|
|
|