Sema: add note about function call being comptime because of comptime only return type

This commit is contained in:
Veikka Tuominen
2022-08-20 01:12:58 +03:00
parent 4a98385b0a
commit e8102d8738
4 changed files with 117 additions and 7 deletions
+1
View File
@@ -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",
});
}