aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t5877.scala
blob: 939013cd01554a4b247ab83e5c5e8ccc469c3251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package foo {
  class Foo

  object Test {
    new Foo().huzzah
  }
}

package object foo {
  // Crasher: No synthetics for method EnrichedFoo2: synthetics contains
  implicit class EnrichedFoo2(value: Foo) {
    def huzzah = ""
  }
}