royale-compiler icon indicating copy to clipboard operation
royale-compiler copied to clipboard

Add compiler warning for unqualified use of new Event

Open Harbs opened this issue 7 years ago • 0 comments

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.

Harbs avatar Sep 20 '18 07:09 Harbs