enum class A { ONE, TWO; fun invoke(i: Int) = i } fun test() = A.ONE(1)