Skip to content

SASS - Unexpected token WS found when mixin with array as parameter #5799

Closed

Description

@zeleznypa

Apache NetBeans version

Apache NetBeans 17

What happened

Netbeans show an "Unexpected token WS found" error when the SASS mixin is called with an array parameter

Snímek obrazovky 2023-04-08 v 19 20 49

How to reproduce

Create and open the file issue.scss with the following content:

div {
    @include test($parameter: [one, two]);
}

Did this work correctly in an earlier version?

No / Don't know

Operating System

Mac OS X version 10.16 running on x86_64; UTF-8; cs_CZ (nb)

JDK

14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

I want to, but I'm not a Java developer

Activity

  1. added
    kind:bug
    needs:triage
    on Apr 8, 2023
  2. added 2 commits that reference this issue on Apr 26, 2026
  3. added this to the NB31 milestone on Apr 27, 2026
  4. added
    CSS
    and removed
    needs:triage
    on Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CSSkind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions