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

Unified Diff: pkg/front_end/test/src/incremental/kernel_driver_test.dart

Issue 2978333002: Include TypeEnvironment into KernelResult. (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/front_end/lib/src/incremental/kernel_driver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/src/incremental/kernel_driver_test.dart
diff --git a/pkg/front_end/test/src/incremental/kernel_driver_test.dart b/pkg/front_end/test/src/incremental/kernel_driver_test.dart
index 4ee2430beed8f0bf5e868f1ca9e0d17ebf5052d8..135b82b571ae49fb574edda146de6898599b87ad 100644
--- a/pkg/front_end/test/src/incremental/kernel_driver_test.dart
+++ b/pkg/front_end/test/src/incremental/kernel_driver_test.dart
@@ -274,6 +274,16 @@ static field (core::String) → core::int f;
''');
}
+ test_compile_typeEnvironment() async {
+ writeFile('/test/.packages', 'test:lib/');
+ String aPath = '/test/lib/a.dart';
+ Uri aUri = writeFile(aPath, 'class A {}');
+
+ KernelResult result = await driver.getKernel(aUri);
+ expect(result.types.coreTypes.intClass, isNotNull);
+ expect(result.types.hierarchy, isNotNull);
+ }
+
test_limited_ast_to_binary() async {
writeFile('/test/.packages', 'test:lib/');
String aPath = '/test/lib/a.dart';
« no previous file with comments | « pkg/front_end/lib/src/incremental/kernel_driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698