We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2034f4 commit 714149aCopy full SHA for 714149a
lib/src/builder.dart
@@ -1231,7 +1231,7 @@ class _MockClassInfo {
1231
// These "List" types from dart:typed_data are "non-subtypeable", but they
1232
// have predicatble constructors; each has an unnamed constructor which
1233
// takes a single int argument.
1234
- return referImported(type.displayName, 'dart:typed_data')
+ return referImported(type.element.name, 'dart:typed_data')
1235
.call([literalNum(0)]);
1236
// TODO(srawlins): Do other types from typed_data have a "non-subtypeable"
1237
// restriction as well?
0 commit comments