object Test { def foo: Int = "LOL" // error // error }