Skip to content

Scala 2.13.6 reports that "Auto-application to () s deprecated. Supply the empty argument list () explicitly to invoke method ..." #174

@jeffmay

Description

@jeffmay

When attempting to use the wire[X] macro and I have all the required dependencies in scope, I expect to not see any compiler warnings.

Instead, I see:

[warn] ... Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method validateOrThrow,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.

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