| author | |
| committer | |
| log | b952b8448648102dbe62fb1b4137c6d57806b78b |
| tree | 066852604b2645d4258acd9336b4ac5cf4f816a7 |
| parent | 8bf425957b253d0ab2e4902d57340b19b7436698 |
| signature |
2 files changed, 2 insertions(+), 2 deletions(-)
test/stage1/behavior.zig+1-1| ... | ... | @@ -70,7 +70,7 @@ comptime { |
| 70 | 70 | _ = @import("behavior/generics.zig"); |
| 71 | 71 | _ = @import("behavior/hasdecl.zig"); |
| 72 | 72 | _ = @import("behavior/hasfield.zig"); |
| 73 | //_ = @import("behavior/if.zig"); | |
| 73 | _ = @import("behavior/if.zig"); | |
| 74 | 74 | _ = @import("behavior/import.zig"); |
| 75 | 75 | _ = @import("behavior/incomplete_struct_param_tld.zig"); |
| 76 | 76 | _ = @import("behavior/inttoptr.zig"); |
test/stage1/behavior/if.zig+1-1| ... | ... | @@ -72,7 +72,7 @@ test "const result loc, runtime if cond, else unreachable" { |
| 72 | 72 | |
| 73 | 73 | var t = true; |
| 74 | 74 | const x = if (t) Num.Two else unreachable; |
| 75 | if (x != .Two) @compileError("bad"); | |
| 75 | expect(x == .Two); | |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | test "if prongs cast to expected type instead of peer type resolution" { |