MCPcopy Create free account
hub / github.com/bytedance/bolt / resolveType

Method resolveType

bolt/expression/TryExpr.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169TypePtr TryCallToSpecialForm::resolveType(
170 const std::vector<TypePtr>& argTypes) {
171 BOLT_CHECK_EQ(
172 argTypes.size(),
173 1,
174 "TRY expressions expect exactly 1 argument, received: {}",
175 argTypes.size());
176 return argTypes[0];
177}
178
179ExprPtr TryCallToSpecialForm::constructSpecialForm(
180 const TypePtr& type,

Callers 1

Calls 1

sizeMethod · 0.45

Tested by 1