Fixed crashes in daca
This commit is contained in:
parent
8c2a5c9813
commit
3b8a3aa4ba
|
@ -280,7 +280,7 @@ static bool isNonCopyable(const Scope *scope, bool *unknown)
|
|||
bool u = false;
|
||||
// check if there is base class that is not copyable
|
||||
for (const Type::BaseInfo &baseInfo : scope->definedType->derivedFrom) {
|
||||
if (!baseInfo.type) {
|
||||
if (!baseInfo.type || !baseInfo.type->classScope) {
|
||||
u = true;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue