We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
call
1 parent 9e332d7 commit bbb6e44Copy full SHA for bbb6e44
src/functions.cpp
@@ -1564,7 +1564,7 @@ namespace Sass {
1564
1565
Arguments* args = SASS_MEMORY_NEW(ctx.mem, Arguments, pstate);
1566
std::string full_name(name + "[f]");
1567
- Definition* def = static_cast<Definition*>((d_env)[full_name]);
+ Definition* def = d_env.has(full_name) ? static_cast<Definition*>((d_env)[full_name]) : 0;
1568
Parameters* params = def ? def->parameters() : 0;
1569
size_t param_size = params ? params->length() : 0;
1570
for (size_t i = 0, L = arglist->length(); i < L; ++i) {
0 commit comments