Skip to content

Ambiguous reference to overloaded definition in scala 2.13.0-RC1 #157

Closed
@Philippus

Description

@Philippus

There are a number of errors popping up in the community build for scala 2.13.0-RC1 in the *Spec files like this one:

ambiguous reference to overloaded definition,
[scala-logging] [error] both method error in trait Logger of type (x$1: String, x$2: Object*)Unit
[scala-logging] [error] and  method error in trait Logger of type (x$1: String, x$2: Any)Unit
[scala-logging] [error] match argument types (String,String)
[scala-logging] [error]       logger.error(msg, arg1)

I think the specs could be fixed with some clever annotations and/or asInstanceOf-stuff.
But I think it may require a nice proper fix, as it will probably hit real end-users of "scala-logging"?

See scala/bug#11453 for more information.

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