Add compiler warning for unqualified use of new Event

Open
#51 0 comments 0 reactions 1 assignee View on GitHub

@Harbs is already working on this.

Since Sep 20, 2018.

Assessment

This issue has not been assessed yet.

Description

new Event() with no import will successfully compile in JS, but will create a browser event instead of a royale Event. This will usually be a mistake (and not work in IE). A compiler warning will make it easier to spot and fix.

Dominant language
Java
Stars
113
Forks
54
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/royale-compiler

All issues in apache/royale-compiler

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.