| ... | ... | @@ -2336,6 +2336,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * |
| 2336 | 2336 | case BuiltinType::Char16: |
| 2337 | 2337 | case BuiltinType::Char32: |
| 2338 | 2338 | case BuiltinType::WChar_S: |
| 2339 | case BuiltinType::Float16: |
| 2339 | 2340 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node_unsigned_negative(c, 0, false)); |
| 2340 | 2341 | case BuiltinType::NullPtr: |
| 2341 | 2342 | return trans_create_node_bin_op(c, res, BinOpTypeCmpNotEq, trans_create_node(c, NodeTypeNullLiteral)); |
| ... | ... | @@ -2478,6 +2479,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope * |
| 2478 | 2479 | case Type::Pipe: |
| 2479 | 2480 | case Type::ObjCTypeParam: |
| 2480 | 2481 | case Type::DeducedTemplateSpecialization: |
| 2482 | case Type::DependentAddressSpace: |
| 2481 | 2483 | return res; |
| 2482 | 2484 | } |
| 2483 | 2485 | zig_unreachable(); |