From 09ec9b03154d909cca0d1719d804a67a11d85f5f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 10 Aug 2022 14:49:42 -0700 Subject: [PATCH] langref: update to new error message --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index ba817f0a4d..9247d3bc43 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 {

For example, if we were to introduce another function to the above snippet:

- {#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; }