This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This is an extension to issue 245262 about Extend in Less. Example less code: .badge { display: inline-block; &:after { /* Prefix notation is supported since issue 245262 */ display: none; } a& { /* Unexpected token LESS_AND found */ &:hover, &:focus { text-decoration: none; } } /* Unexpected token RBRACE found */ } /*Resulting CSS. See http://less2css.org/ .badge { display: inline-block; } .badge:after { display: none; } a.badge:hover, a.badge:focus { text-decoration: none; } */
Reproducible, thank you. Netbeans parser now allows only & without something before it. It will fix it.
Fixed in http://hg.netbeans.org/web-main/rev/1ffdb5b95681
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1ffdb5b95681 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #251999 - LESS precompiler does not support Extend using postfix & notation