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

In Scala 3: handle extension methods and future proof for SIP-47 #26

Open
MateuszKubuszok opened this issue Jan 9, 2023 · 0 comments
Open

Comments

@MateuszKubuszok
Copy link
Owner

methodSymbol.paramSymss would return List[List[Symbol]] where type parameters - if present - are always the first nested List. However, this is not true for extension methods - listed as methods of the type but with different type order! - and in the future it will not not be true for methods with clause interleaving.

All usages of paramsSymss should be adapted to not assume that type-symbol list is always as the at first place and only there. (Additionally, code should ideally handle mutiple empty parameter lists).

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

No branches or pull requests

1 participant