com-lihaoyi / mill

Your shiny new Java/Scala build tool!
https://mill-build.com/
MIT License
2k stars 308 forks source link

BSP: `MatchError` when a `TestModule` is used in isolation #3110

Closed lefou closed 3 months ago

lefou commented 3 months ago

So I tried defining additional test without an real language module, this line in mill will throw a MatchError as the additional test module does not inherent JavaModule.

Originally posted by @chikei in https://github.com/com-lihaoyi/mill/issues/3064#issuecomment-2042031938

lefou commented 3 months ago

In PR #3111 I think I fixed the MatchError, but haven't tested it, due to a missing test suite and spare time. @chikei If you want to give it a try, I'm happy to get your feedback.

chikei commented 3 months ago

Just tried IJ bsp import, I think the PR fixed the issue.