.mixin (...) { // matches 0-N arguments
.mixin () { // matches exactly 0 arguments
.mixin (@a: 1) { // matches 0-1 arguments
.mixin (@a: 1, ...) { // matches 0-N arguments
.mixin (@a, ...) { // matches 1-N arguments
Furthermore:
.mixin (@a, @rest...) {
// @rest is bound to arguments after @a
// @arguments is bound to all arguments
}
Whoa. This IS a breaking change.
So, if you can no longer do:
.mixin() {
something: @arguments;
}
Not that I ever did that, but that's how it worked before, yes?
Interesting... This is what I'm waiting for (named arguments):
.mixin(@A: 1, @b: 2) { }
myproperty: .mixin(@b: 3);