summaryrefslogtreecommitdiff
path: root/test/files/pos/t1237.scala
blob: 7777372138d1e422abb79c02577be36c756ce453 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class HelloWorld {
  def main(args: Array[String]) {

    object TypeBool;

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

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

    ()
  }
}