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 cb39ed6c6d5ef5176de066fe497fc77e7900395d..20db7ab53def0c971299d14405f32d167c406fea 100644 |
--- a/pkg/compiler/lib/src/ssa/type_builder.dart |
+++ b/pkg/compiler/lib/src/ssa/type_builder.dart |
@@ -166,7 +166,6 @@ 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 || |