Comments (6)
Right. So in other words, we've been using syntax that's no longer supported?
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 T
should never be possible if you don't inherit Module
.
from mill.
Managed to make it work, thanks for the tips!
from mill.
This looks like a code problem: you are defining a T.command
inside the class TestHelper
that does not extend mill.Module
.
That is not expected to work I think: commands must be defined inside modules, and modules must be either trait
s or object
s. Can you move the T.command
out of the TestHelper
class?
from mill.
Right. So in other words, we've been using syntax that's no longer supported?
from mill.
This looks like a code problem: you are defining a T.command inside the
class TestHelper
that does not extendmill.Module
.That is not expected to work: commands must be defined inside modules, and modules must be either
trait
s orobject
s
Might be some copy and paste stuff, which I already fixed in scala-js-cli
. VirtusLab/scala-js-cli#39
from mill.
@lefou right, thanks!
Lemme try to apply your fixes from scala-js-cli
in scala-cli
then
from mill.
Related Issues (20)
- Migrate `build.sc` to Scala 3 (1000USD Bounty) HOT 7
- BSP's dependencyModules do not return transitive libraries HOT 8
- url pattern need update HOT 4
- MatchError when do ` mill.idea.GenIdea/idea` HOT 14
- Add new built in command in Test suite that lists full names of all test classes or test cases. HOT 1
- Compile time slower in version 0.11.7-86-18d144 HOT 2
- Publish to winget HOT 1
- Add support in import IDEA scala plugin? HOT 1
- GenIdea: Illegal char <:> HOT 2
- `TestModule.testOnly` should fail if no tests were matched
- Feature Request: Support for Publishing POM Artifacts HOT 2
- Automatically exclude Mill transitive depedencies from build classpath HOT 6
- Not so TASTy to 0.11.8? HOT 5
- Warn user about incompatible Java / Scala versions HOT 2
- Refactor `CompileModule` out of `JavaModule` HOT 2
- Mill omits projects when generating a BSP project when you have a foreign modules with same names as in project
- Classes don't seem to be always put in `compiledClassesAndSemanticDbFiles.dest` HOT 1
- First compile error after changed the build.sc HOT 1
- Mill clean should stop/close workers HOT 1
- Windows CI seems to be broken on newer versions of Mill (500USD) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mill.