commit 09ec9b03154d909cca0d1719d804a67a11d85f5f (tree) parent a73b3a0d70a094514a53aa028ee1321f63d950ab Author: Andrew Kelley <andrew@ziglang.org> Date: Wed, 10 Aug 2022 14:49:42 -0700 langref: update to new error message Diffstat:
| M | doc/langref.html.in | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 { <p> For example, if we were to introduce another function to the above snippet: </p> - {#code_begin|test_err|value with comptime only type 'type' depends on runtime control flow#} + {#code_begin|test_err|unable to resolve comptime value#} fn max(comptime T: type, a: T, b: T) T { return if (a > b) a else b; }