R90 Minify bug

Bugs will be moved here once resolved.

Post » Tue May 15, 2012 6:16 pm

Here's the capx:
http://dl.dropbox.com/u/5426011/bug/r90_minify_bug.capx

Previewing and exporting without minify works as expected; "abcd" is appended to the Text. But when exporting with minify only "ab" is appended.

If I replace "on any key pressed" with another trigger (other than "start of layout") it still occurs. Also if I replace "repeat" with another looping event such as "for" it still occurs.

Construct 2 R90
Winxp pro sp3
Firefox 12.0
B
79
S
24
G
54
Posts: 4,749
Reputation: 40,761

Post » Tue May 15, 2012 7:27 pm

Hmph, it's a bug in Google's Closure Compiler. Reported: http://code.google.com/p/closure-compiler/issues/detail?id=730

The workaround in this case, strangely enough, is to include the Sprite object. That will reference the variable the minifier is screwing up and then should work correctly.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests