# Error passing a list to a SASS mixin: “] expected”

**URL:** https://discourse.roots.io/t/error-passing-a-list-to-a-sass-mixin-expected/19323
**Category:** sage
**Tags:** webpack, sage9
**Created:** 2020-10-15T07:34:41Z
**Posts:** 1

## Post 1 by @dangelion — 2020-10-15T07:34:41Z

I’m passing a list to a SASS mixin and it works (no error in the browser or console) but my editor (VS Code) says there are errors.  
The code is:

```
@include gridAuto(
    320px, 
    [
      ['sm', 2],
      ['', 1],
      ['lg', 3],
    ],
    var(--space-xl), 
    var(--space-xxl)
  );
```

I get errors on this line `['sm', 2],`. The errors:

```
] expected
] expected
) expected
at-rule or selector expected
```

I attach a screenshot  
[![enter image description here](https://i.stack.imgur.com/vhsX0.jpg)](https://i.stack.imgur.com/vhsX0.jpg)
