Open
Description
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
@foods: {
dessert: ice cream; // Turn into a map
};
@key-to-lookup: dessert;
.lunch {
treat: @foods[@@key-to-lookup];
}
Compilation result: variable @dessert not found.
So if variable variables are not applicable to the new Maps, it should be removed from documentation.
Metadata
Metadata
Assignees
Labels
No labels