summaryrefslogtreecommitdiff
path: root/test/files/pos/t1014.scala
blob: 1ac87b225b60986dd3380c7aebfd340664275a8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.xml.{NodeSeq, Elem}

class EO extends App with Moo{
  def cat = <cat>dog</cat>

  implicit def nodeSeqToFlog(in: Elem): Flog = new Flog(in)
}

trait Moo {
  def cat: Flog
}

class Flog(val in: NodeSeq)