We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa9940 commit e2f6993Copy full SHA for e2f6993
config/data/langs.toml
@@ -975,13 +975,12 @@ example = '''
975
'''
976
977
[Kotlin]
978
-args = [ '/kotlinc/bin/kotlin', '-e', '$code' ]
979
-env = [ 'LC_ALL=C.UTF-8', 'PATH=/usr/bin:/bin:/opt/jdk/openjdk/bin' ]
980
-experiment = 151
981
-size = '452 MiB'
982
-version = '2.0.21'
983
-website = 'https://kotlinlang.org'
984
-example = '''
+args = [ '/kotlinc/bin/kotlin', '-e', '$code' ]
+env = [ 'LC_ALL=C.UTF-8', 'PATH=/usr/bin:/bin:/opt/jdk/openjdk/bin' ]
+size = '452 MiB'
+version = '2.0.21'
+website = 'https://kotlinlang.org'
+example = '''
985
// Printing
986
println("Hello, World!")
987
discord/bot.go
@@ -64,7 +64,10 @@ func init() {
64
}
65
66
// TODO Make this dynamic based on hole/lang age.
67
-func channel(_ *config.Hole, _ *config.Lang) string {
+func channel(_ *config.Hole, lang *config.Lang) string {
68
+ if lang.ID == "kotlin" {
69
+ return chanFreshID
70
+ }
71
return chanSourID
72
73
sql/a-schema.sql
@@ -67,10 +67,10 @@ CREATE TYPE lang AS ENUM (
'civet', 'clojure', 'cpp', 'cobol', 'coconut', 'crystal', 'd', 'dart',
'elixir', 'f-sharp', 'factor', 'fish', 'forth', 'fortran', 'go',
'golfscript', 'haskell', 'hexagony', 'j', 'janet', 'java', 'javascript',
- 'jq', 'julia', 'k', 'lisp', 'lua', 'nim', 'ocaml', 'pascal', 'perl',
- 'php', 'powershell', 'prolog', 'python', 'r', 'raku', 'rockstar', 'ruby',
- 'rust', 'scheme', 'sed', 'sql', 'swift', 'tcl', 'tex', 'v', 'viml',
- 'wren', 'zig'
+ 'jq', 'julia', 'k', 'kotlin', 'lisp', 'lua', 'nim', 'ocaml', 'pascal',
+ 'perl', 'php', 'powershell', 'prolog', 'python', 'r', 'raku', 'rockstar',
+ 'ruby', 'rust', 'scheme', 'sed', 'sql', 'swift', 'tcl', 'tex', 'v',
+ 'viml', 'wren', 'zig'
74
);
75
76
CREATE TYPE medal AS ENUM ('unicorn', 'diamond', 'gold', 'silver', 'bronze');
0 commit comments