| author | |
| committer | |
| log | 09ec9b03154d909cca0d1719d804a67a11d85f5f |
| tree | 9f6d05909eb9f2ef180b4ba59c1df7afdc696e63 |
| parent | a73b3a0d70a094514a53aa028ee1321f63d950ab |
1 files changed, 1 insertions(+), 1 deletions(-)
doc/langref.html.in+1-1| ... | ... | @@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 { |
| 6622 | 6622 | <p> |
| 6623 | 6623 | For example, if we were to introduce another function to the above snippet: |
| 6624 | 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 | 6626 | fn max(comptime T: type, a: T, b: T) T { |
| 6627 | 6627 | return if (a > b) a else b; |
| 6628 | 6628 | } |