Ticket #2528083 (closed defect)
ReporterDuncan Cross |
Opened: 01/26/11 Last modified: 12/12/12 Status: closed Type: defect Resolution: wontfix |
Owner Adam Moore |
Target Release: Priority: |
|---|---|---|---|
| Summary: | Unlikely but syntactically valid expression changed by minification | ||
| Description: | If you use double of either the unary prefix operators + or - on an expression, with a space between them to distinguish it from the unary prefix operators ++ and --, the space is stripped out. For example: var x = 10; ...is minified to: var x=10;var y=--x; ...which of course ends with x and y having the value 9, instead of 10. |
||
| Type: | defect | Observed in Version: | 2.4.2 |
| Component: | YUICompressor | Severity: | S4 (low) |
| Assigned To: | Adam Moore | Target Release: | |
| Location: | Priority: | ||
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Jenny Donnelly
Thank you for your bug report. We are deprecating YUI Compressor in favor of yuglify. Please see our announcement for more information: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/. We will consider migrating these legacy tickets to GitHub if there are community maintainers willing to step up and own them.