Skip to content

Commit 5cfb769

Browse files
kotlin updates
1 parent 65f2b07 commit 5cfb769

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/kotlin/kotlin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ func Run(files []string, stdin string) (string, string, error, string) {
1010
workDir := filepath.Dir(files[0])
1111
fname := filepath.Base(files[0])
1212

13-
stdout, stderr, err, duration := cmd.Run(workDir, "kotlinc", fname, "-progressive", "-no-reflect")
13+
// https://discuss.kotlinlang.org/t/kotlinc-example-with-separate-files/3389/4
14+
stdout, stderr, err, duration := cmd.Run(workDir, "kotlinc", "*.kt", "-progressive", "-no-reflect")
1415

1516
// remove java warning
1617
stderr = strings.Replace(stderr, "Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.\n", "", -1)

0 commit comments

Comments
 (0)