Fix type_test

This commit is contained in:
Tobe O 2019-08-07 23:05:02 -04:00
parent a43550c13f
commit 4048c63432

View file

@ -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);
}
}