HaxeFoundation / HaxeFoundation/haxe

Support deprecating defines and meta

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

Description

Since this will come up for Haxe ~~4~~ 5! for sure, we should have support for deprecating defines and metas. A simple `"deprecated": "Don't use this"` field in the JSON definition should suffice.

Ironically, one of the things I want to deprecate is `NoDeprecationWarnings`...

Contributor guide

Open the contributing guide

Research direction

Start by locating the JSON definition handling for compiler defines and metas, then trace how existing deprecation warnings are represented. Implement support for a "deprecated" message on both definition types and verify that the message is surfaced when they are used.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.