aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/kotlin.js
diff options
context:
space:
mode:
authorMats Larsen <me@supergrecko.com>2021-07-06 15:11:32 +0200
committerGitHub <noreply@github.com>2021-07-06 08:11:32 -0500
commite2a8e7c8ce8f0bb05339f84de74377b963564461 (patch)
tree5185ebd46445d16fbcef6a88fb7645d79db33677 /lib/compilers/kotlin.js
parentf8a51dc72f9a8d5fcc8e7c6d02114a95eeb2c13a (diff)
downloadcompiler-explorer-e2a8e7c8ce8f0bb05339f84de74377b963564461.tar.gz
compiler-explorer-e2a8e7c8ce8f0bb05339f84de74377b963564461.zip
Support execution of programs for JVM compilers (#2745)
* Bare execution for Java programs * Support execution for Kotlin
Diffstat (limited to 'lib/compilers/kotlin.js')
-rw-r--r--lib/compilers/kotlin.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compilers/kotlin.js b/lib/compilers/kotlin.js
index a7e21f796..030cdcfd5 100644
--- a/lib/compilers/kotlin.js
+++ b/lib/compilers/kotlin.js
@@ -40,6 +40,10 @@ export class KotlinCompiler extends JavaCompiler {
return execOptions;
}
+ getMainClassName() {
+ return 'ExampleKt';
+ }
+
filterUserOptions(userOptions) {
// filter options without extra arguments
userOptions = userOptions.filter(option =>