Page MenuHomePhabricator

[detached-rulesets] Support ruleset objects as default values of a mixin parameter
Closed, ResolvedPublic

Description

... parse /test/Fixtures/lessjs-2.5.3/less/detached-rulesets.less Fail
--- actual
+++ /test/Fixtures/lessjs-2.5.3/css/detached-rulesets.css
@@ -1,7 +1,76 @@
-could not understand value for named argument in detached-rulesets.less on line 105, column 24
-103| }
-104| // as mixin argument default
-105| .mixin-definition(@a: {}; @b: {default: works;};) {
-106|   @a();
-107|   @b();
-108| }

Event Timeline

Change 1010592 had a related patch set uploaded (by Hokwelum; author: Hokwelum):

[mediawiki/libs/less.php@master] Detached Rulesets Parser error

https://gerrit.wikimedia.org/r/1010592

Change #1010592 merged by jenkins-bot:

[mediawiki/libs/less.php@master] Support using rulesets as default values of a mixin parameter

https://gerrit.wikimedia.org/r/1010592