Skip to content

UnnecessaryConversionTest failing in latest Scala community build #754

@saeltz

Description

@saeltz

See scala/community-build#1677.

The Scala compiler is now constant-folding integer literals and our tests like 3.toInt don't warn anymore because the expression is already constant folded in the typer phase of the compiler after which scapegoat is invoked.

It's good that the compiler is now constant folding. We should adjust somehow.

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