Created
October 24, 2019 10:50
-
-
Save afsalthaj/7f4c5bf525af0dba5d64fb73e6882b4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait =!=[C, D] | |
object NoFeatureS { | |
implicit def neq[E, F]: E =!= F = new =!=[E, F] {} | |
@annotation.implicitAmbiguous("Could not prove ${J} =!= ${J}") | |
implicit def neqAmbig1[G, H, J]: J =!= J = new =!=[J, J] {} | |
implicit def neqAmbig2[I]: I =!= I = new =!=[I, I] {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment