Closed yrodiere closed 8 years ago
This seems to be bug in bootstrap, the same code fails in latest less.js too.
There was a bug in both less.js and less4j that allowed you to use mixins with parameters as namespaces, but it got fixed in both. Unfortunately, it looks like bootstrap was using that bug. I cant fix this here, because less4j is supposed to behave as closely as possible to latest less.js.
Hi,
It seems the following snippet (extracted from Bootstrap 2.3.2) won't compile with Less4J
1.16
. It used to compile just fine up to Less4J1.8.4
(at least).Expected output:
... but errors are reported instead (this stack trace was generated using your test framework):
This code will compile just fine, so I guess it's somewhat related to "parametric" namespaces:
I'm going to submit a pull request that includes the test, so that your can witness it first-hand.