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 248898 - Parsing error - calling own URL function in SASS document
Summary: Parsing error - calling own URL function in SASS document
Status: RESOLVED DUPLICATE of bug 238988
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-25 19:04 UTC by Milutin Kristofic
Modified: 2015-09-14 22:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot of hint about unexpected COLON (74.15 KB, image/png)
2015-09-14 22:53 UTC, rweaver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2014-11-25 19:04:09 UTC
Example: 
@function oj-image-url($path){
 @return url($imageDir + $path);
}

URL(STRING) is used in definition of URLs in CSS, so this is difficult for parser to see difference from sass function with name URL
Comment 1 Milutin Kristofic 2015-04-17 10:40:21 UTC

*** This bug has been marked as a duplicate of bug 238988 ***
Comment 2 rweaver 2015-09-14 22:53:47 UTC
Created attachment 156166 [details]
screen shot of hint about unexpected COLON
Comment 3 rweaver 2015-09-14 22:55:26 UTC
Another example from my LESS file:

li {
    background: transparent url(@{img_path}list-bullet.png) no-repeat 0 0;
				padding-left: 14px;
				margin-bottom: 5px;
}

The hint shows up on the background tag.