rise-lang / shine

The Shine compiler for the RISE language
https://rise-lang.org
MIT License
73 stars 8 forks source link

Removed generic type projection use #231

Closed michel-steuwer closed 2 years ago

michel-steuwer commented 2 years ago

This is a new attempt to move towards Scala 3 by breaking preparation changes from #201 in multiple up-to-date PRs. With the hope that we can merge these quickly.

This PR removes the use of generic type projections (i.e. T#U) in the FunctionHelper class, as these have been dropped in Scala 3.

The replacement syntax is maybe not ideal, but once in Scala 3 (...) there is a better alternative available: https://scastie.scala-lang.org/ndV4Xu8RQZWlZRYCc6GAig

michel-steuwer commented 2 years ago

Done: https://github.com/rise-lang/shine/issues/234