Fix type_test
This commit is contained in:
parent
a43550c13f
commit
4048c63432
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class _IsListType extends Matcher {
|
|||
var type = item is TypeContext ? item : parseType(item.toString());
|
||||
if (type.listType == null) return false;
|
||||
if (type.isNullable != (isNullable != false)) return false;
|
||||
return innerType.matches(type.listType.type, matchState);
|
||||
return innerType.matches(type.listType.innerType, matchState);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue