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

Unified Diff: pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart

Issue 2900113002: Implement subtyping rules for FutureOr in kernel. (Closed)
Patch Set: Created 3 years, 7 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
Index: pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart
diff --git a/pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart b/pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart
index ecbfbf5acac7e465e85dd109478ee3881a663aeb..5b5f606f2da0567be1f7f16fe08144379db8ba40 100644
--- a/pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart
+++ b/pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart
@@ -801,7 +801,8 @@ class TypeSchemaEnvironmentTest {
}
TypeSchemaEnvironment _makeEnv() {
- return new TypeSchemaEnvironment(coreTypes, new ClassHierarchy(program));
+ return new TypeSchemaEnvironment(
+ coreTypes, new ClassHierarchy(program), true);
}
DartType _map(DartType key, DartType value) =>

Powered by Google App Engine
This is Rietveld 408576698