HaxeFoundation / HaxeFoundation/haxe

[js] js.html externs refer deprecated js.Promise type

Open
#8,282 4 comments 2 reactions 1 assignee Claimed by @haxiomic View on GitHub
feature-html-externs platform-javascript priority-low
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Try compiling for JS with `--macro include("js.html")` and you see some deprecation warnings due to externs using unqualified `Promise` access which resolves to `js.Promise`, which is now deprecated. The externs should import `js.lib.Promise` or specify the full path.

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.