Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index b78cc697313a673a13185cc41ad7b0381ee57931..8383e54f92a1398af4eb24beebd1092d41c7e49f 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -15642,7 +15642,7 @@ bool Instance::IsInstanceOf(const AbstractType& other, |
ASSERT(!other.IsMalformed()); |
ASSERT(!other.IsMalbounded()); |
if (other.IsVoidType()) { |
- return false; |
+ return true; |
} |
Zone* zone = Thread::Current()->zone(); |
const Class& cls = Class::Handle(zone, clazz()); |