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 258401 - SCSS: Comma after @each ... in (...) reported as "unexpected token"
Summary: SCSS: Comma after @each ... in (...) reported as "unexpected token"
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-16 15:53 UTC by Jaroslav Havlin
Modified: 2016-03-18 02:47 UTC (History)
1 user (show)

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 Jaroslav Havlin 2016-03-16 15:53:15 UTC
Code snippet:

@each $className, $iconFile
in
(my_class, my_file_name_base),
{


If there is a comma before the opening curly brace, editor hint with text "Unexpected token COMMA found" is shown.
Comment 1 Milutin Kristofic 2016-03-17 12:58:11 UTC
http://hg.netbeans.org/web-main/rev/561c9d5cd327

Thank you for your report Jarda.
Comment 2 Jaroslav Havlin 2016-03-17 14:05:29 UTC
Great, thank you for the fix.
Comment 3 Quality Engineering 2016-03-18 02:47:42 UTC
Integrated into 'main-silver', will be available in build *201603180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/561c9d5cd327
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #258401 - SCSS: Comma after @each ... in (...) reported as "unexpected token"