scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

I just want to launch my compiler

Open som-snytt opened this issue 4 days ago • 1 comments

Compiler version

3.8.0

Expectation

There must needs be a quick way to run the (current) compiler.

In the absence of buildQuick, this is onerous.

Current example is that BootstrappedOnlyCompilationTests.posWithCompiler fails for me, but I can't conveniently reproduce the compilation.

The testlogs has a reproduction class path, but the source paths are relative, which it seems the scalac task does not like. (Edit: the task doesn't parse single quotes like a normal shell.)

Adding -Vprint to "test flags" does not work in "vulpix", which is a fundamental limitation to address.

I got it to work by publishLocal and using scala-cli with -Xtarget 9 (from the test log) changed to -Xtarget:9.

It looks like removing one facility turns these remaining limitations into blockers, or at least into speed bumps.

This is an umbrella ticket for the expectation.

Worth adding that command line scalac used to be a source of truth for option parsing.

som-snytt avatar Dec 08 '25 15:12 som-snytt