summaryrefslogtreecommitdiff
path: root/test/pending/pos/bug579.scala
blob: a0806919e0c732fcfe8080e06b5135caac5bebb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package my.webapp.bean.stuff;

import scala.reflect.BeanProperty

class MyBean {
  [BeanProperty]
  var frombulizer: String = _;
}

object Test extends Application {

  val x = new MyBean;
  x.frombulizer = "hello"

  x.setFrombulizer ("hola") // synthetic methods comes too late for typechecking this code

  val z:String = x.frombulizer

  val zz:String = x.getFrombulizer  // synthetic methods comes too late for typechecking this code

}