View Issue Details

IDProjectCategoryView StatusLast Update
0037919pas2jstranspilerpublic2020-10-28 22:12
Reporterhenrique Assigned ToMattias Gaertner  
Status assignedResolutionopen 
Summary0037919: Optimizer is removing class declaration
DescriptionWhen I declare a custom attribute, the optimizer is removing the declaration from the class in the final generated file.

I've set up an example with the problem occurring.
TagsNo tags attached.
Fixed in Revision
Attached Files



2020-10-13 20:35

reporter (510 bytes)

Mattias Gaertner

2020-10-28 22:05

manager   ~0126619

I compiled your example and I see in the Error.js:
$r.attr = [$mod.Attribute,"Create"];

What is missing?


2020-10-28 22:12

reporter   ~0126621

It is linking the attribute to the class constructor and not the class

Issue History

Date Modified Username Field Change
2020-10-13 20:35 henrique New Issue
2020-10-13 20:35 henrique File Added:
2020-10-13 22:26 Mattias Gaertner Assigned To => Mattias Gaertner
2020-10-13 22:26 Mattias Gaertner Status new => assigned
2020-10-28 22:05 Mattias Gaertner Status assigned => feedback
2020-10-28 22:05 Mattias Gaertner Note Added: 0126619
2020-10-28 22:12 henrique Note Added: 0126621
2020-10-28 22:12 henrique Status feedback => assigned