kotlinx/ast

Failed to parse UTF-8 text

drieks opened this issue · 2 comments

This exception will be thrown when trying to parse https://github.com/arrow-kt/arrow/blob/master/modules/docs/arrow-examples/src/test/kotlin/arrow/typeclasses/StartHere.kt:

java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Byte (java.lang.Integer and java.lang.Byte are in module java.base of loader 'bootstrap')

This is caused by the Unicode Character "😱" (0x22F0) in Line 27.

This is caused by Strumenta/antlr-kotlin#31

Jitpack Build 039a2a455c contains a fix for this bug.