-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Project structure read incorrectly in 0.11.6
#2888
Comments
This looks like a code problem: you are defining a That is not expected to work I think: commands must be defined inside modules, and modules must be either |
Right. So in other words, we've been using syntax that's no longer supported? |
Might be some copy and paste stuff, which I already fixed in |
@lefou right, thanks! |
More the kind of: You used some code constructs which should never have compiled before, but somehow do. We try hard to make invalid thing not compile, which is not always possible with macros. So we catch those only by accident here. Meaning, defining a |
Managed to make it work, thanks for the tips! |
This is a sequel to #2844, really, as it seems that
0.11.6
merely fails in a different way for https://github.com/VirtusLab/scala-cli now.We tried to upgrade to
0.11.6
here: VirtusLab/scala-cli#2572It fails on our integration tests definition with:
The important part seems to be the last line:
Which seems to be coming from here:
mill/main/eval/src/mill/eval/GroupEvaluator.scala
Line 134 in 423f174
My best guess is that the fix from #2883 doesn't fix it for our case.
--disable-callgraph-invalidation
seems to make the integration tests pass, but that shouldn't be necessary.The text was updated successfully, but these errors were encountered: