You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
znck
changed the title
get-function with underscore in function fails with "Function not found"
get-function with underscore in function name fails with "Function not found"
Aug 8, 2019
I just hit this too. Took me a while to track it down, seems to have come up in a recent patch.
Sass' internal re-mapping of _ to - on function and variable-names was known to me, but I'd never seen it pose a problem WRT function lookup before. The following code works in libsass and worked in dart-sass as of 1.22.0, but now fails without any clues as to the reason (Error: Function not found: test_fn).
Note that if I assign $test-fn: get-function('test-fn');, replacing the _ with - myself, it works.
Demo: https://repl.it/repls/TanHeavyNonlinearprogramming
The text was updated successfully, but these errors were encountered: