Sema: fix fn_proto_param LazySrcLoc resolution

to match source code span from merge-base.
This commit is contained in:
Andrew Kelley
2023-07-18 18:34:14 -07:00
parent 727b371bbc
commit 8daa8d255b
5 changed files with 14 additions and 7 deletions

View File

@@ -7,4 +7,4 @@ export fn foo(num: anytype) i32 {
// backend=stage2
// target=native
//
// :1:15: error: generic parameters not allowed in function with calling convention 'C'
// :1:20: error: generic parameters not allowed in function with calling convention 'C'