An open API service indexing awesome lists of open source software.

https://github.com/sake92/metals-mill-scala3-class-params-repro


https://github.com/sake92/metals-mill-scala3-class-params-repro

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Changing class parameters does not recompile dependant class.

Repro with Mill:
- `mill scalaHelloWorld.run` , all good
- add parameter to `MyService`
- `mill scalaHelloWorld.run` again:
- the code still compiles, but should not compile
- throws `java.lang.NoSuchMethodError: 'void example.MyService.(java.lang.String)'`

Same with sbt.