Index: lib/compiler/implementation/unparse_validator.dart |
diff --git a/lib/compiler/implementation/unparse_validator.dart b/lib/compiler/implementation/unparse_validator.dart |
index 5c342f7d8d9c2ad42488de0e7342f6af567385fc..0f72121c1126ee4f3313e6f777d4cc3704965c88 100644 |
--- a/lib/compiler/implementation/unparse_validator.dart |
+++ b/lib/compiler/implementation/unparse_validator.dart |
@@ -44,7 +44,7 @@ class UnparseValidator extends CompilerTask { |
parser.findGetOrSet(parser.parseModifiers(newTokens)); |
// TODO(ahe): This is also too frigging complicated. |
- Script originalScript = originalFunction.getScript(); |
+ Script originalScript = originalFunction.getCompilationUnit().script; |
String name = SourceSpan.withCharacterOffsets( |
originalFunction.beginToken, originalFunction.endToken, |
(beginOffset, endOffset) => |