Index: compiler/java/com/google/dart/compiler/resolver/CoreTypeProviderImplementation.java |
=================================================================== |
--- compiler/java/com/google/dart/compiler/resolver/CoreTypeProviderImplementation.java (revision 512) |
+++ compiler/java/com/google/dart/compiler/resolver/CoreTypeProviderImplementation.java (working copy) |
@@ -60,7 +60,8 @@ |
if (element == null) { |
Location location = null; |
DartCompilationError error = |
- new DartCompilationError(location, DartCompilerErrorCode.CANNOT_BE_RESOLVED, name); |
+ new DartCompilationError(null, Location.NONE, |
Brian Wilkerson
2011/10/18 21:01:39
It's unfortunate that we don't have any context at
John Lenz
2011/10/18 21:07:13
I believe this should only occur if there is some
|
+ DartCompilerErrorCode.CANNOT_BE_RESOLVED, name); |
listener.compilationError(error); |
return Types.newDynamicType(); |
} |