Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell
Apache License 2.0
590 stars 36 forks source link

compiler options support #88

Open elect86 opened 3 years ago

elect86 commented 3 years ago

Apparently it's not yet supported specifying custom compiler options, like in normal scripts

@file:CompilerOptions("-Xopt-in=kotlin.RequiresOptIn")

Loading that or running compilerOptions -Xopt-in=kotlin.RequiresOptIn leads to error, such as

ERROR Unresolved reference: CompilerOptions (Line_1.kts:4:7)