| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
|
| index 5c78fadb8c470725c90a1cecf6bbb911a5b052a9..7c29f6b98354d7f989feefbef8ac8dc414a48a2c 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
|
| @@ -261,7 +261,8 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
|
| }
|
|
|
| private DartParser getParser(String string) {
|
| - return new DartParser(new DartScannerParserContext(null, string, listener));
|
| + DartSourceString source = new DartSourceString("<source string>", string);
|
| + return new DartParser(new DartScannerParserContext(source, string, listener));
|
| }
|
|
|
| private String getResource(String name) {
|
|
|