-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
the named parameters implementation (introduced in #619, 1857b7c) breaks the following code:
.box-shadow(@shadow) {
-webkit-box-shadow: @shadow;
-moz-box-shadow: @shadow;
box-shadow: @shadow;
}
a {
.box-shadow(inset 0 1px rgba(255, 255, 255, 0.15);
}
with
Error: Expected )
at Object.<anonymous> (/home/raylu/src/less.js/lib/less/parser.js:786:45)
at $ (/home/raylu/src/less.js/lib/less/parser.js:122:24)
at Object.primary (/home/raylu/src/less.js/lib/less/parser.js:493:32)
at $ (/home/raylu/src/less.js/lib/less/parser.js:122:24)
at Object.block (/home/raylu/src/less.js/lib/less/parser.js:1017:42)
at $ (/home/raylu/src/less.js/lib/less/parser.js:122:24)
at Object.ruleset (/home/raylu/src/less.js/lib/less/parser.js:1036:54)
at $ (/home/raylu/src/less.js/lib/less/parser.js:122:24)
at Object.primary (/home/raylu/src/less.js/lib/less/parser.js:492:80)
at $ (/home/raylu/src/less.js/lib/less/parser.js:122:24)
which compiled fine in v1.3 (54e1a6b) and even in the commit right before it (cb78933)
Metadata
Metadata
Assignees
Labels
No labels