Skip to content

Implement -Yno-predef, -Yno-imports #1294

Closed
@smarter

Description

@smarter

They exist but don't do anything currently, as a workaround you can do at the top of a file:

import Predef.{println => _}

Explicitly importing something from Predef disable the automatic import of Predef, and importing a method as _ means that it isn't accessible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions