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(
|
||||
store,
|
||||
arena,
|
||||
.{
|
||||
(try resolveTypeOfNode(store, arena, .{
|
||||
.node = pay.array_expr,
|
||||
.handle = self.handle,
|
||||
},
|
||||
})) orelse return null,
|
||||
.Single,
|
||||
),
|
||||
// TODO Resolve switch payload types
|
||||
|
Loading…
Reference in New Issue
Block a user