Skip to content

Vulpix could offer rewrites (quickfixes) #25670

@som-snytt

Description

@som-snytt

Compiler version

3.8.2

Expectation

When my compilation test fails, the task has --update-checkfiles, which I just remembered how to type as it does not autocomplete, (note that scala 2 was slightly different --update-checks I think) but it would be nice to have

--rewrite

to update the source with // error and also rewrite the .check.

That sounds suspiciously easy, although it would be post-processing; it would be cooler as a plugin; then maybe the compiler task would also work scalac --rewrite.

Obviously, it would also update // warn!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:vulpixIssues tied with Vulpix, the internal compiler testing framework.itype:enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions