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.

Bug 258158 - SCSS/Sass syntax checker: False positive when concatenating strings with quotes
Summary: SCSS/Sass syntax checker: False positive when concatenating strings with quotes
Status: RESOLVED DUPLICATE of bug 238988
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 16:08 UTC by ThomasLandauer
Modified: 2016-02-29 12:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ThomasLandauer 2016-02-26 16:08:50 UTC
Netbeans gives a syntax error on the @return-line here:

@function foo($bar)
{
    @return url('a' + $bar + 'b')
}

Although in effect it does work perfectly fine: This:

.text { background:foo('pic'); }

...gets compiled into this, as expected:

.text {background: url("apicb"); }
Comment 1 Milutin Kristofic 2016-02-29 12:53:08 UTC
You are right, netbeans is not parsing URL right. There is already bug report in Bug #238988, where are collected many errors in this. This need a quite big rewrite of CSS parser, so it can takes awhile, but it is really important to find solution.

*** This bug has been marked as a duplicate of bug 238988 ***