You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, haxe always strips the PHP native type hints and generates phpdoc. This is undesirable due to the pocketmine API requiring native type hints for some classes and methods.
We will need a macro of some sort for telling the haxe transpiler which extern methods should retain their native php type hints. Without this, it is impossible to write direct externs for the pocketmine source and a weakly typed wrapper would be needed.
The text was updated successfully, but these errors were encountered:
Currently, haxe always strips the PHP native type hints and generates phpdoc. This is undesirable due to the pocketmine API requiring native type hints for some classes and methods.
We will need a macro of some sort for telling the haxe transpiler which extern methods should retain their native php type hints. Without this, it is impossible to write direct externs for the pocketmine source and a weakly typed wrapper would be needed.
The text was updated successfully, but these errors were encountered: