object Foo { // error def bar: Int = "LOL" }