File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1149,6 +1149,7 @@ class _FunctionTypeHandle extends _TypeHandle {
1149
1149
hash = _combineHashes (hash, listHashCode (positionalParams));
1150
1150
hash = _combineHashes (hash, listHashCode (namedParams));
1151
1151
hash = _combineHashes (hash, returnType.hashCode);
1152
+ hash = _combineHashes (hash, nullability.index);
1152
1153
return hash;
1153
1154
}
1154
1155
@@ -1159,7 +1160,8 @@ class _FunctionTypeHandle extends _TypeHandle {
1159
1160
this .numRequiredParams == other.numRequiredParams &&
1160
1161
listEquals (this .positionalParams, other.positionalParams) &&
1161
1162
listEquals (this .namedParams, other.namedParams) &&
1162
- this .returnType == other.returnType;
1163
+ this .returnType == other.returnType &&
1164
+ this .nullability == other.nullability;
1163
1165
1164
1166
@override
1165
1167
String toString () {
You can’t perform that action at this time.
0 commit comments