HaxeFoundation / HaxeFoundation/haxe

`_dyn` can make hxcpp fail

Open
#10,191 0 comments 0 reactions 0 assignees View on GitHub
bug platform-cpp
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Declaring a class with both a method `foo` and a method `foo_dyn` makes compilation fail, because hxcpp adds its own `_dyn` versions, so it ends up declaring:

```cpp
class ... {
// ...
::Dynamic foo();
::Dynamic foo_dyn();
::Dynamic foo_dyn();
::Dynamic foo_dyn_dyn();
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.