Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComplexType#self_to is removing the final '>' from the dst param #589

Closed
grncdr opened this issue Sep 5, 2022 · 0 comments · Fixed by #590
Closed

ComplexType#self_to is removing the final '>' from the dst param #589

grncdr opened this issue Sep 5, 2022 · 0 comments · Fixed by #590
Labels

Comments

@grncdr
Copy link
Contributor

grncdr commented Sep 5, 2022

Simple to reproduce, doesn't seem to depend on anything about the actual project.

# this does not raise an error
Solargraph::ComplexType.parse('Array').self_to("Foo<String>")

# this raises ComplexTypeError, "Unclosed subtype in Foo<String"
Solargraph::ComplexType.parse('Array<self>').self_to("Foo<String>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants