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 3f1d014 commit 431c04bCopy full SHA for 431c04b
built_value_generator/lib/src/value_source_class.dart
@@ -1209,7 +1209,7 @@ abstract class ValueSourceClass
1209
// Use a different seed for builders than for values, so they do not have
1210
// identical hashCodes if the values are identical.
1211
final seed = forBuilder ? 1 : 0;
1212
- result.writeln('int _\$hash = $seed;');
+ result.writeln('var _\$hash = $seed;');
1213
1214
for (var field in comparedFields) {
1215
result.writeln('_\$hash = \$jc(_\$hash, ${field.name}.hashCode);');
0 commit comments