-
Notifications
You must be signed in to change notification settings - Fork 469
Open
Labels
Bug - ConfirmedCompatibility - P3Minorly important for compatibility with the Sass spec and ecosystemMinorly important for compatibility with the Sass spec and ecosystemDart Backport DoneDev - Test Written
Description
LibSass's get-function()
function fails if it's passed a function name that's defined only in a nested scope. For example:
.scope {
@function add-two($v) {@return $v + 2}
$_: get-function(add-two);
}
This throws:
Error: Function not found: add-two
on line 3:7 of test.scss, in function `get-function`
from line 3:7 of test.scss
>> $_: get-function(add-two);
------^
Metadata
Metadata
Assignees
Labels
Bug - ConfirmedCompatibility - P3Minorly important for compatibility with the Sass spec and ecosystemMinorly important for compatibility with the Sass spec and ecosystemDart Backport DoneDev - Test Written