In the scope of targeting 2.0, I'm trying to remove error suppressions.
In antlr-kotlin I have some INVISIBLE_MEMBER and INVISIBLE_REFERENCE suppressions to access printing to the error stream.
They were
easy to remove in Kotlin/Native as all what's needed is public, and there isn't much work to do overall.
However, I'm not sure for WASI. Should I just copy
internal fun printError(error: String?) {
printImpl(error, useErrorStream = true, newLine = false)
}
And all what's inside like
wasiPrintImpl
and
wasiRawFdWrite
? Even
WasiError
is internal.