Skip to content

Generated PHP files always have native type hints stripped #1

Description

@JackNoordhuis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions