HaxeFoundation / HaxeFoundation/as3hx

implicit superclass static calls fail in haxe

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
180
Forks
52
PR merge metrics
No merged PRs in 30d

Description

In haxe, you can only call your class's static functions implicitly without a typename. In as3, you can call your superclass's static functions in this manner as well. So static functions called implicitly on superclasses need to have their class name explicitly specified. (e.g. staticMethod(); becomes SuperClass.staticMethod();)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with an AS3 class that implicitly calls a static function inherited from its superclass, then trace the converter's handling of that call. Done means the generated Haxe qualifies such calls with the superclass name, while ordinary implicit static calls remain unchanged.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.