HaxeFoundation / HaxeFoundation/haxe

DCE causes toString() methods to be discarded

Open
#9,541 4 comments 0 reactions 0 assignees View on GitHub
bug feature-dce platform-javascript
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

If there's no direct reference to a class ``toString()`` method, it's discarded by DCE, forcing you to add ``@:keep`` in front of all of them.

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.