HaxeFoundation / HaxeFoundation/haxe
[HashLink] Uncaught exception: Can't cast dynobj to #Foo
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
code for example:
```haxe
package;
class Main {
static function main() {
Reflect.callMethod({}, new Foo().test, []);
}
}
class Foo {
public function new() {}
public function test() {
trace("test");
}
}
```
Flash - ok
JS - ok
CPP - ok
CS - ok
Java - ok
Neko - ok
HashLink result:
```
Uncaught exception: Can't cast dynobj to #Foo
Called from $Reflect.callMethod(C:\HaxeToolkit\haxe\std/hl/_std/Reflect.hx:85)
Called from $Main.main(Main.hx:6)
Called from fun$337(?:1)
```
Contributor guide
Assessment
This issue has not been assessed yet.