spkersten / dart_functional_data

Simple and non-intrusive code generator for lenses and boilerplate of data types
https://pub.dev/packages/functional_data
MIT License
41 stars 15 forks source link

The type of `other` in the generated equality method is dynamic #15

Closed spkersten closed 3 years ago

spkersten commented 4 years ago

This leads to type errors when the equality class specified with CustomEquality has specific types:

error: The argument type 'dynamic' can't be assigned to the parameter type 'int'. (argument_type_not_assignable at ...)
spkersten commented 3 years ago

Fixed in recent versions.