mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Sema: add note about function call being comptime because of comptime only return type
This commit is contained in:
@@ -204,6 +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",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user