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.
1 parent 8f40dc0 commit 534065cCopy full SHA for 534065c
src/ast.cpp
@@ -1561,7 +1561,7 @@ namespace Sass {
1561
{
1562
if (String_Schema_Obj schema = Cast<String_Schema>(contents())) {
1563
if (schema->length() == 0) return false;
1564
- return Cast<Parent_Reference>(schema->at(0));
+ return Cast<Parent_Reference>(schema->at(0)) != nullptr;
1565
}
1566
return false;
1567
src/operation.hpp
@@ -200,7 +200,7 @@ namespace Sass {
200
201
std::string msg(typeid(*this).name());
202
msg += ": CRTP not implemented for ";
203
- throw std::runtime_error(msg + typeid(*x).name());
+ throw std::runtime_error(msg + typeid(x).name());
204
205
206
};
0 commit comments