Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4cfda63

Browse files
committed
Kotlin: Use -Xopt-in=kotlin.RequiresOptIn when compiling
1 parent 37cf36b commit 4cfda63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/kotlin-extractor/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def compile_to_dir(srcs, classpath, java_classpath, output):
5454
run_process([kotlinc,
5555
# kotlinc can default to 256M, which isn't enough when we are extracting the build
5656
'-J-Xmx2G',
57+
'-Xopt-in=kotlin.RequiresOptIn',
5758
'-d', output,
5859
'-module-name', 'codeql-kotlin-extractor',
5960
'-no-reflect', '-no-stdlib',

0 commit comments

Comments
 (0)