Skip to content

Conversation

@slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jun 29, 2023

There were no other usages of TypeArrayView anywhere else except for
GenericSignature::getGenericParams(), and it was almost never what
you want, so callers had to convert back and forth to an ArrayRef.
Remove it.

…cTypeParamType *>

This basically undoes 3da6fe9, which in hindsight was wrong.

There were no other usages of TypeArrayView anywhere else except for
GenericSignature::getGenericParams(), and it was almost never what
you want, so callers had to convert back and forth to an ArrayRef.
Remove it.
@slavapestov slavapestov changed the title AST: Replace TypeArrayView<GenericTypeParamType> with ArrayRef<Generi… AST: Replace TypeArrayView<GenericTypeParamType> with ArrayRef<GenericTypeParamType *> Jun 29, 2023
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

swiftlang/llvm-project#7045
@swift-ci Please smoke test

@slavapestov slavapestov merged commit 6f8fd07 into swiftlang:main Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant