sass-spec/spec/libsass-closed-issues/issue_672/input.scss
raw| 1 | @mixin test($arglist...) { |
| 2 | $map: keywords($arglist); |
| 3 | answer: if($map, "Yep", "Nope"); |
| 4 | } |
| 5 | |
| 6 | with-keyword-args{ |
| 7 | @include test($arg1: one, $arg2: two, $arg3: three); |
| 8 | } |
| 9 | with-no-args { |
| 10 | @include test(); |
| 11 | } |
| 12 | without-keyword-args { |
| 13 | @include test(not-a-keyword-arg-1 , not-a-keyword-arg-2); |
| 14 | } |