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

Unified Diff: pkg/compiler/lib/src/ssa/type_builder.dart

Issue 2976013002: Changes to compile compound constructor types (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
Index: pkg/compiler/lib/src/ssa/type_builder.dart
diff --git a/pkg/compiler/lib/src/ssa/type_builder.dart b/pkg/compiler/lib/src/ssa/type_builder.dart
index e7b06c9a6960a099e6a14527fbc5d3e0fc313b36..38be55df94a718b4a2897ad9a34b0f987fa404d1 100644
--- a/pkg/compiler/lib/src/ssa/type_builder.dart
+++ b/pkg/compiler/lib/src/ssa/type_builder.dart
@@ -168,6 +168,7 @@ abstract class TypeBuilder {
/// This should only be called in assertions.
bool assertTypeInContext(DartType type, [Spannable spannable]) {
if (builder.compiler.options.useKernel) return true;
+ if (builder.compiler.options.loadFromDill) return true;
ClassEntity contextClass = DartTypes.getClassContext(type);
assert(
contextClass == null ||
« no previous file with comments | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698