Index: runtime/vm/kernel_to_il.cc |
diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc |
index 392ada66538ef3ff4e65c38f6bd6c3df4bb76ebe..167bf2a1688b24f0a7d85a175cef6e8763a983b5 100644 |
--- a/runtime/vm/kernel_to_il.cc |
+++ b/runtime/vm/kernel_to_il.cc |
@@ -4843,6 +4843,12 @@ void DartTypeTranslator::VisitVoidType(VoidType* node) { |
} |
+void DartTypeTranslator::VisitBottomType(BottomType* node) { |
+ result_ = |
+ dart::Class::Handle(Z, I->object_store()->null_class()).CanonicalType(); |
Kevin Millikin (Google)
2017/05/03 21:01:06
This is the only interesting code. Is this the ri
regis
2017/05/04 09:35:10
This should be fine.
|
+} |
+ |
+ |
const TypeArguments& DartTypeTranslator::TranslateTypeArguments( |
DartType** dart_types, |
intptr_t length) { |