Skip to content

Variables in @import statements cause "variable not found" Less_Exception_Compiler #32

@DemianX0

Description

@DemianX0
@theme: 'custom';
@import '@{theme}.less';

Results in:

Less_Exception_Compiler from line 49 of vendor\wikimedia\less.php\lib\Less\Tree\Variable.php:
 variable @theme is undefined in variables.less on line 2, column 9

Reported upstream: oyejorge#352
Fixed by (2 patches): oyejorge#352 (comment)
kylekatarnls@e3d4aa4
kylekatarnls@637fd93

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions