| ... | @@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 { | ... | @@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 { |
| 6622 | <p> | 6622 | <p> |
| 6623 | For example, if we were to introduce another function to the above snippet: | 6623 | For example, if we were to introduce another function to the above snippet: |
| 6624 | </p> | 6624 | </p> |
| 6625 | {#code_begin|test_err|value with comptime only type 'type' depends on runtime control flow#} | 6625 | {#code_begin|test_err|unable to resolve comptime value#} |
| 6626 | fn max(comptime T: type, a: T, b: T) T { | 6626 | fn max(comptime T: type, a: T, b: T) T { |
| 6627 | return if (a > b) a else b; | 6627 | return if (a > b) a else b; |
| 6628 | } | 6628 | } |