Possible Duplicates:
Zip Code Database
Scala: can't write setter without getter?
class Person {
def age_= (val value:Int) { }
}
object Main {
def main( args : Array[String] ) {
val s = new Person()
s.age = 10
}
}
I thought Scala gave special treatment to bla_=
by allowing it to be used as foo.bar = baz