summaryrefslogblamecommitdiff
path: root/test/files/pos/ticket0137.scala
blob: 72f955fe5ecd3d548f54d1735fc321c6d299f3ac (plain) (tree)
1
2
3
4
5
6
7
8

                                      
                                                               
                    


                                                                                                             
 
trait AbsM {    
  abstract class MonadCompanion[M[_]] 
  abstract class AbsMonadCompanion extends MonadCompanion[AM] {
    def newTag: Int 
  }

  type AM[_] // to trigger the bug, this must be an abstract type member that comes after the reference to it
}