apache / royale-compiler

Apache Royale Compiler
https://royale.apache.org/
Apache License 2.0
95 stars 49 forks source link

Minification Issue - Packages That include ".prototype." Fail on Release Builds #181

Open brianraymes opened 3 years ago

brianraymes commented 3 years ago

It appears that having anything within a package/folder of "prototype" fails minification; app fails to start.

Steps to Reproduce

  1. Create an AS file within a package that includes a folder named "package"
package com.something.prototype
{
    public class SomeClassName
    {
        . . .
    }
}
  1. Perform a release build

Expected Results

Application launches without issue.

Actual Results

Application fails to launch as something is corrupt within the produced minified javascript.