We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haxe 4.2.5
var data:tink.pure.Vector<{final whatever:Int;}> = tink.pure.Vector.fromArray([{whatever:42}]);
this gives following compilation error:
src/MainClient.hx:31: characters 47-90 : error: Cannot unify final and non-final fields src/MainClient.hx:31: characters 47-90 : ... have: tink.pure.Vector<{ whatever: Dynamic }> src/MainClient.hx:31: characters 47-90 : ... want: tink.pure.Vector<{ whatever: Dynamic }> src/MainClient.hx:31: characters 47-90 : ... For function argument 'compute' src/MainClient.hx:31: characters 47-90 : ... For function argument 'fn'
Using List instead of Vector fixes the problem.
List
Vector
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Haxe 4.2.5
this gives following compilation error:
Using
List
instead ofVector
fixes the problem.The text was updated successfully, but these errors were encountered: