Home
last modified time | relevance | path

Searched refs:consequentTypeOld (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dhelpers.cpp1117 auto *const consequentTypeOld = it->second.first; in CheckTestOrSmartCastCondition() local
1118 if (consequentTypeOld == nullptr) { in CheckTestOrSmartCastCondition()
1122 if (consequentTypeNew != nullptr && !parent_->Relation()->IsIdenticalTo(consequentTypeOld, consequentTypeNew)) { in CheckTestOrSmartCastCondition()
1123 it->second.first = parent_->AsETSChecker()->CreateETSUnionType({consequentTypeOld, consequentTypeNew}); in CheckTestOrSmartCastCondition()

Completed in 5 milliseconds