Skip to content

Option convenience ~refchecks for before and after phase #17682

@som-snytt

Description

@som-snytt

Scala 2 scalac -Vprint:~tailcalls as a convenience for printing before and after the named phase. You don't always remember what comes before without checking -Vphases, or maybe there is a plugin phase.

This might be higher payoff in Scala 3, where the innovative mini/mega phase construction is even more confusing.

Riffing a bit, it could also select the previous phase at which there was a difference. -Vprint:^tailrec

Avoiding -Vprint:erasure,tailrec. Well, that is an easy one. -VcrossVersionChecks,explicitOuter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions