summaryrefslogblamecommitdiff
path: root/test/files/pos/t1237.scala
blob: 7777372138d1e422abb79c02577be36c756ce453 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                 


                    

                                          
 
                                       




      
class HelloWorld {
  def main(args: Array[String]) {

    object TypeBool;

    trait Fct {
      def g(x : Int) = TypeBool // breaks.

      //    def g(x : Int) = 3 // fine.
    }

    ()
  }
}