Skip to content

Commit 8de9352

Browse files
committed
remove throw from test for CI compliance
Signed-off-by: Ahmad Rezaii <[email protected]>
1 parent a70627b commit 8de9352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/test/resolution/testIntegralReturnType.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static const chpl::types::PrimitiveType* stringNameToType(Context* context, std:
4646
} else if (name == "uint(64)") {
4747
return UintType::get(context, 64);
4848
} else {
49-
throw std::runtime_error("Unknown type name: " + name);
49+
assert(false && "Unexpected type name");
5050
}
5151
}
5252

0 commit comments

Comments
 (0)