Open elect86 opened 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
compilerOptions -Xopt-in=kotlin.RequiresOptIn
ERROR Unresolved reference: CompilerOptions (Line_1.kts:4:7)
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 asERROR Unresolved reference: CompilerOptions (Line_1.kts:4:7)