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
- Host: GitHub
- URL: https://github.com/sake92/metals-mill-scala3-class-params-repro
- Owner: sake92
- Created: 2024-02-12T18:49:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-09T19:31:07.000Z (over 2 years ago)
- Last Synced: 2025-02-11T15:58:24.304Z (over 1 year ago)
- Language: Scala
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.