The usage of Dynamic in the example code below doesn't make much sense, but is just a minimal reproducible sample of the issue. The issue occurs in a real project where Dynamic in the actual code makes (a bit) more sense.
Notes:
Use Haxe 4.2.5 in try-haxe settings, otherwise the examples don't compile (some errors related to tink_core)
Remove :Dynamic in either example to see the expected result
The usage of
Dynamic
in the example code below doesn't make much sense, but is just a minimal reproducible sample of the issue. The issue occurs in a real project whereDynamic
in the actual code makes (a bit) more sense.Notes:
:Dynamic
in either example to see the expected resultIssue 1
https://try.haxe.org/#cAe829Cb
Uncaught TypeError: this1.getStatus is not a function,https://try.haxe.org/program/cAe829Cb/run?r=0.13856380911375776,line:489
Issue 2
https://try.haxe.org/#58722815
Uncaught TypeError: next(...).handle is not a function,https://try.haxe.org/program/58722815/run?r=0.009096519480646048,line:530