This seems to only happen when parsing swiftinterfaces, but I've written this to be more generally defensive. rdar://78233377