[swift] Fix not marking oneof field as @Indirect
when detecting a cycle
#6877
Loading
@Indirect
when detecting a cycle
#6877