Skip to content

Commit cf74460

Browse files
author
Joe Shajrawi
authored
Merge pull request #14192 from apple/sema_cherrypick
Merge pull request #14170 from shajrawi/buffix_class_offset2
2 parents 5065593 + 08d25b8 commit cf74460

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/CSApply.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,7 @@ namespace {
14811481
}
14821482

14831483
auto subscript = cast<SubscriptDecl>(choice.getDecl());
1484+
cs.TC.requestMemberLayout(subscript);
14841485

14851486
auto &tc = cs.getTypeChecker();
14861487
auto baseTy = cs.getType(base)->getRValueType();

0 commit comments

Comments
 (0)