compiler/passes/normalize.cpp
// Validates the declared element type, if it exists
Validates the declared element type, if it exists
Validates the declared element type if it exists
static void insertElementTypeCheck(Expr* declaredRet, Expr* actualRet,
                                   CallExpr* retVar) {
  CallExpr* checkEltType = new CallExpr("chpl__checkEltTypeMatch",
                                        actualRet->copy(),
                                        declaredRet->copy());
  retVar->insertBefore(checkEltType);
}
static void insertElementTypeCheck ( Expr * declaredRet , Expr * actualRet , CallExpr * retVar ) { CallExpr * checkEltType = new CallExpr ( " " , actualRet -> copy ( ) , declaredRet -> copy ( ) ) ; retVar -> insertBefore ( checkEltType ) ; }
Validates the declared element type, if it exists
Validates the declared element type if it exists