Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dfunction_helpers.h135 auto dflt = newTypeParam->GetDefaultType()->Substitute(checker->Relation(), substitution); in BuildImplicitSubstitutionForArguments() local
136 if (!checker->EnhanceSubstitutionForType(sigInfo->typeParams, newTypeParam, dflt, substitution)) { in BuildImplicitSubstitutionForArguments()
170 auto *dflt = sigParams[ix]->AsETSTypeParameter()->GetDefaultType(); in BuildExplicitSubstitutionForArguments() local
171 if (dflt == nullptr) { in BuildExplicitSubstitutionForArguments()
175 dflt = dflt->Substitute(checker->Relation(), constraintsSubstitution); in BuildExplicitSubstitutionForArguments()
176 instArgs.push_back(dflt); in BuildExplicitSubstitutionForArguments()
H A Darithmetic.cpp30 static inline void RepairTypeErrorWithDefault(Type **type, Type *dflt) in RepairTypeErrorWithDefault() argument
33 *type = dflt; in RepairTypeErrorWithDefault()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/
H A Dtypes.rb52 def self.detect(rb_obj, dflt: nil)
53 if !dflt.nil?
54 return ESChecker::Types::Parser.new(dflt).run
H A Dvalue_dumper.rb100 ESChecker::Types::detect(rb_obj, dflt: @conf.self_type)
102 ESChecker::Types::detect(rb_obj, dflt: @conf.ret_type)
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DmemberExpression.cpp386 auto *dflt = baseType->AsETSArrayType()->ElementType(); in CheckComputed() local
389 return dflt; in CheckComputed()
394 return dflt; in CheckComputed()
400 return dflt; in CheckComputed()
406 return (res == nullptr) ? dflt : res; in CheckComputed()
409 return dflt; in CheckComputed()

Completed in 5 milliseconds