- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Apr 2020 17:31:34 +0000
- To: public-css-archive@w3.org
We also support it where the number of accepted arguments is clear:
```scss
// example function accepts a single argument
@function example(
$arg
) {
@return $arg;
}
.test {
error: example(a, b); // two arguments -> error
valid: example(a,); // one with trailing comma -> `a`
}
```
--
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4968#issuecomment-617922401 using your GitHub account
Received on Wednesday, 22 April 2020 17:31:37 UTC