| 1 |
@function foo($a, $should-be-empty...) { |
| 2 |
@return length($should-be-empty); |
| 3 |
} |
| 4 |
|
| 5 |
@function bar($args...) { |
| 6 |
@return call(foo, $args...); |
| 7 |
} |
| 8 |
|
| 9 |
@function args($args...) { |
| 10 |
@return $args; |
| 11 |
} |
| 12 |
|
| 13 |
$a: args(1, 2, 3); |
| 14 |
|
| 15 |
test { |
| 16 |
test: bar($a); |
| 17 |
} |