Sema: further enhance explanation of why expr is evaluated at comptime
This commit is contained in:
@@ -204,7 +204,7 @@ pub fn addCases(ctx: *TestContext) !void {
|
||||
, &[_][]const u8{
|
||||
":3:12: error: unable to resolve comptime value",
|
||||
":3:12: note: argument to function being called at comptime must be comptime-known",
|
||||
":2:55: note: generic function is instantiated with a comptime-only return type",
|
||||
":2:55: note: expression is evaluated at comptime because the generic function was instantiated with a comptime-only return type",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user