File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ bool SwiftASTManipulator::FixupResultAfterTypeChecking(Status &error) {
709
709
" Type of %zuth return value could not be determined." , i);
710
710
return false ;
711
711
}
712
- swift::Type its_type = the_decl->getType ();
712
+ swift::Type its_type = the_decl->getTypeInContext ();
713
713
if (result_type.isNull ()) {
714
714
result_type = its_type;
715
715
} else if (!its_type.getPointer ()->isEqual (result_type)) {
Original file line number Diff line number Diff line change @@ -6933,7 +6933,7 @@ CompilerType SwiftASTContext::GetChildCompilerTypeAtIndex(
6933
6933
continue ;
6934
6934
6935
6935
CompilerType child_type =
6936
- ToCompilerType (VD->getType ().getPointer ());
6936
+ ToCompilerType (VD->getTypeInContext ().getPointer ());
6937
6937
child_name = VD->getNameStr ().str ();
6938
6938
if (!get_type_size (child_byte_size, child_type))
6939
6939
return {};
You can’t perform that action at this time.
0 commit comments