mirror of
https://github.com/less/less.js.git
synced 2026-02-06 04:55:03 -05:00
Fix '@arguments' behaviour, Closes #632
`.mixin` & `.mixin()` had differing behaviours.
This commit is contained in:
@@ -763,7 +763,7 @@ less.Parser = function Parser(env) {
|
||||
}
|
||||
|
||||
if (elements.length > 0 && ($(';') || peek('}'))) {
|
||||
return new(tree.mixin.Call)(elements, args, index, env.filename, important);
|
||||
return new(tree.mixin.Call)(elements, args || [], index, env.filename, important);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user