Fixed array payload type resolution
This commit is contained in:
parent
7650decfa0
commit
323b05856e
@ -994,10 +994,10 @@ pub const DeclWithHandle = struct {
|
|||||||
.array_payload => |pay| try resolveBracketAccessType(
|
.array_payload => |pay| try resolveBracketAccessType(
|
||||||
store,
|
store,
|
||||||
arena,
|
arena,
|
||||||
.{
|
(try resolveTypeOfNode(store, arena, .{
|
||||||
.node = pay.array_expr,
|
.node = pay.array_expr,
|
||||||
.handle = self.handle,
|
.handle = self.handle,
|
||||||
},
|
})) orelse return null,
|
||||||
.Single,
|
.Single,
|
||||||
),
|
),
|
||||||
// TODO Resolve switch payload types
|
// TODO Resolve switch payload types
|
||||||
|
Loading…
Reference in New Issue
Block a user