Closed tribbloid closed 9 months ago
example:
object Refined2 { trait Node { type T } type NodeAux[T0] = Node { type T = T0 } type NodeLt[T0] = NodeAux[_ <: T0] implicitly[NodeLt[Int]] }
which yields:
newSource1.scala:10: error: implicit error; !I e: <refinement> implicitly[NodeLt[Int]] ^
The meaninglelss <refinement> is probably generated by the compiler
<refinement>
If not used in summoning it looks totally normal tho:
newSource1.scala:14: error: type mismatch; Int(1)|Refined2.Node {type T = _$2} val k: NodeLt[Int] = 1 ^
How weird
example:
which yields:
The meaninglelss
<refinement>
is probably generated by the compiler