Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: test/transformer_test.dart

Issue 1667173002: Proper span/asset location for DDC errors in the transformer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/transformer/transformer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/transformer_test.dart
diff --git a/test/transformer_test.dart b/test/transformer_test.dart
index 092444fc8c4059711a99050e73b637db248fa88d..07c19e76321c94a441bd6147026170e696117042 100644
--- a/test/transformer_test.dart
+++ b/test/transformer_test.dart
@@ -2,9 +2,9 @@ library dev_compiler.test.transformer.transformer_test;
import 'package:barback/barback.dart' show BarbackMode, BarbackSettings;
import 'package:dev_compiler/transformer.dart';
+import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles;
import 'package:test/test.dart';
import 'package:transformer_test/utils.dart';
-import 'package:dev_compiler/src/compiler.dart' show defaultRuntimeFiles;
makePhases([Map config = const {}]) => [
[
@@ -89,8 +89,8 @@ export default exports;
}),
{},
[
- "warning: A value of type \'String\' cannot be assigned to a variable of type \'int\'",
- "error: Type check failed: '2' (String) is not of type int"
+ "warning: A value of type \'String\' cannot be assigned to a variable of type \'int\' (package:foo/Foo.dart 3 19)",
+ "error: Type check failed: '2' (String) is not of type int (package:foo/Foo.dart 3 19)"
]);
});
}
« no previous file with comments | « lib/src/transformer/transformer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698