authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-08 01:15:19-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-08 15:57:25-05:00
log3834d3dac0d901e8319aa515b64ade8604fe1ecf
tree22691949ed9b2a66369e9516de00ea83016e2440
parentaef04aff0c60a82ab5c2336ca999a918b1905c68
signaturelock-open Commit is signed but in an unrecognized format.

passing std lib tests


1 files changed, 1 insertions(+), 1 deletions(-)

src/ir.cpp+1-1
...@@ -15719,7 +15719,7 @@ static IrInstruction *ir_resolve_result_raw(IrAnalyze *ira, IrInstruction *suspe...@@ -15719,7 +15719,7 @@ static IrInstruction *ir_resolve_result_raw(IrAnalyze *ira, IrInstruction *suspe
15719 return result_loc->resolved_loc;15719 return result_loc->resolved_loc;
15720 }15720 }
15721 case ResultLocIdCast: {15721 case ResultLocIdCast: {
15722 if (!non_null_comptime && value != nullptr && value->value.special != ConstValSpecialRuntime)15722 if (value != nullptr && value->value.special != ConstValSpecialRuntime)
15723 return nullptr;15723 return nullptr;
15724 ResultLocCast *result_cast = reinterpret_cast<ResultLocCast *>(result_loc);15724 ResultLocCast *result_cast = reinterpret_cast<ResultLocCast *>(result_loc);
15725 ZigType *dest_type = ir_resolve_type(ira, result_cast->base.source_instruction->child);15725 ZigType *dest_type = ir_resolve_type(ira, result_cast->base.source_instruction->child);