fn br(ri: ResultInfo) ResultInfo ri: ResultInfo276
277
278
279
280
281
282
283
284 fn br(ri: ResultInfo) ResultInfo {
return switch (ri.rl) {
.coerced_ty => |ty| .{
.rl = .{ .ty = ty },
.ctx = ri.ctx,
},
else => ri,
};
}
Turns a
coerced_tyback into aty. Should be called at branch points such as if and switch expressions.