// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects object Foo { override fun toString(): String = this::class.simpleName ?: throw Exception() }