HaxeFoundation / HaxeFoundation/haxe

structInit not working with super constructor

Open
#10,976 1 comment 0 reactions 0 assignees View on GitHub
feature-structInit
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

( use latest try haxe compiler )
need newer compiler that allows @:structInit on abstract.
https://try.haxe.org/#8d7E20f0
work round.
https://try.haxe.org/#e683b409

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with the latest Haxe compiler using the example at https://try.haxe.org/#8d7E20f0, then compare it with the workaround at https://try.haxe.org/#e683b409. Determine the expected behavior for @:structInit on an abstract with a super constructor; done means the original example works without the workaround.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.