Skip to content

I just want to launch my compiler #24702

@som-snytt

Description

@som-snytt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:testingarea:vulpixIssues tied with Vulpix, the internal compiler testing framework.regressionThis worked in a previous version but doesn't anymore

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions