summaryrefslogblamecommitdiff
path: root/test/files/neg/t6359.scala
blob: 96550fd906781b099318f9c192b2d331ebdd7689 (plain) (tree)
1
2
3
4
5
6
7
8







                                    
class M(val t: Int) extends AnyVal {
   def lazyString = {
      object X
      class Y

      () => {X; new Y}
   }
}