summaryrefslogblamecommitdiff
path: root/test/files/pos/t8736.scala
blob: 46c0cdfd000e59528852d3333fd8031aa52abe5c (plain) (tree)
1
2
3
4
5
6
7






                                                                                                                       
// scalac: -feature -language:implicitConversions -language:higherKinds -language:-implicitConversions -Xfatal-warnings
// showing that multiple settings are respected, and explicit enablement has precedence
class X {
  def hk[M[_]] = ???

  implicit def imp(x: X): Int = x.hashCode
}