-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
If a brace is followed by a comment on the next line, the brace is removed and added the end of the comment and now the code is missing a brace and is no longer compilable.
as3 code for example:
if(this._explicitWidth !== this._explicitWidth && //isNaN
(this.actualWidth > value || this.actualWidth == oldValue))
{
//only invalidate if this change might affect the width
this.invalidate(INVALIDATION_FLAG_SIZE);
}
expected result
if(this._explicitWidth != this._explicitWidth && //isNaN
(this.actualWidth > value || this.actualWidth == oldValue))
{
//only invalidate if this change might affect the width
this.invalidate(INVALIDATION_FLAG_SIZE);
}
actual result
if (this._explicitWidth != this._explicitWidth && //isNaN
(this.actualWidth > value || this.actualWidth == oldValue))
//only invalidate if this change might affect the width{
this.invalidate(INVALIDATION_FLAG_SIZE);
}
Adolio, gogoprog and chatziko
Metadata
Metadata
Assignees
Labels
No labels