Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Add @implicitAmbiguous annotation #26

Closed
@puffnfresh

Description

@puffnfresh

https://issues.scala-lang.org/browse/SI-6806

Should be pretty straightforward.

Motivation:

trait =!=[A, B]

implicit def neq[A, B] : A =!= B = null

@implicitAmbiguous("Type is required to not equal ${A}")
implicit def neqAmbig1[A] : A =!= A = null
implicit def neqAmbig2[A] : A =!= A = null

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