Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 7fa99c7452d26fad8b5ba26759f5f61171d7af3c..82aed25681b2f2212561c6c3452b3ceb78d5d780 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -1578,7 +1578,7 @@ RawString* Class::UserVisibleName() const { |
case kExternalTypedDataFloat64ArrayCid: |
return Symbols::Float64List().raw(); |
default: |
- if (!IsSignatureClass()) { |
+ if (!IsCanonicalSignatureClass()) { |
const String& name = String::Handle(Name()); |
return String::IdentifierPrettyName(name); |
} else { |