We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606eda7 commit ec41a65Copy full SHA for ec41a65
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