AstGen: use elem_{ptr,val}_node for array access syntax
This commit is contained in:
@@ -24,9 +24,9 @@ pub export fn entry3() void {
|
||||
// target=native
|
||||
// backend=stage2
|
||||
//
|
||||
// :6:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :6:5: note: use '*const fn() void' for a function pointer type
|
||||
// :13:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :13:5: note: use '*const fn() void' for a function pointer type
|
||||
// :19:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :19:5: note: use '*const fn() void' for a function pointer type
|
||||
// :7:10: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :7:10: note: use '*const fn() void' for a function pointer type
|
||||
// :15:18: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :15:17: note: use '*const fn() void' for a function pointer type
|
||||
// :21:19: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known
|
||||
// :21:18: note: use '*const fn() void' for a function pointer type
|
||||
|
||||
Reference in New Issue
Block a user