I tried to use your code, I run into this: Kotlin:...
# announcements
e
I tried to use your code, I run into this: Kotlin: Cannot check for instance of erased type: Parser.Result.Success<Int>
Copy code
val a : Result = Result.Success<Int>(3)
if (a is Result.Success<Int>) {
}