-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$@
(Variable properties) should be documented
#500
Comments
@ayyash You have defined @foods: {
dessert: ice cream; // Turn into a map
};
@key-to-lookup: dessert;
.lunch {
treat: @foods[$@key-to-lookup];
} Properties are referenced using |
matthew-dean
changed the title
Map documentation references invalid scenario
Jan 10, 2019
$@
(Variable properties) should be documented
Updated the description as I don't think variable properties are currently documented, even though this functionality exists. |
See: less/less.js#3362 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Under maps, section named: Using variable variables in lookups references lookups, not maps, so when I tried to apply it, the code looks like this
Compilation result:
variable @dessert not found.
So if variable variables are not applicable to the new Maps, it should be removed from documentation.The text was updated successfully, but these errors were encountered: