kotlin-playground
kotlin-playground copied to clipboard
Self-contained component to embed in websites for running Kotlin code
Bumps [terser](https://github.com/terser/terser) from 4.0.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Related PR: https://github.com/AlexanderPrendota/kotlin-compiler-server/pull/501
The following code in Playground doesn't work: [Type checks and automatic casts](https://play.kotlinlang.org/#eyJ2ZXJzaW9uIjoiMS43LjAiLCJwbGF0Zm9ybSI6ImphdmEiLCJhcmdzIjoiIiwibm9uZU1hcmtlcnMiOnRydWUsInRoZW1lIjoiaWRlYSIsImNvZGUiOiJmdW4gZ2V0U3RyaW5nTGVuZ3RoKG9iajogQW55KTogSW50PyB7XG4gICAgaWYgKG9iaiBpcyBTdHJpbmcpIHtcbiAgICAgICAgLy8gYG9iamAgaXMgYXV0b21hdGljYWxseSBjYXN0IHRvIGBTdHJpbmdgIGluIHRoaXMgYnJhbmNoXG4gICAgICAgIHJldHVybiBvYmoubGVuZ3RoXG4gICAgfVxuXG4gICAgLy8gYG9iamAgaXMgc3RpbGwgb2YgdHlwZSBgQW55YCBvdXRzaWRlIG9mIHRoZSB0eXBlLWNoZWNrZWQgYnJhbmNoXG4gICAgcmV0dXJuIG51bGxcbn1cblxuXG5mdW4gbWFpbigpIHtcbiAgICBmdW4gcHJpbnRMZW5ndGgob2JqOiBBbnkpIHtcbiAgICAgICAgcHJpbnRsbihcIkdldHRpbmcgdGhlIGxlbmd0aCBvZiAnJG9iaicuIFJlc3VsdDogJHtnZXRTdHJpbmdMZW5ndGgob2JqKSA/OiBcIkVycm9yOiBUaGUgb2JqZWN0IGlzIG5vdCBhIHN0cmluZ1wifSBcIilcbiAgICB9XG4gICAgcHJpbnRMZW5ndGgoXCJJbmNvbXByZWhlbnNpYmlsaXRpZXNcIilcbiAgICBwcmludExlbmd0aCgxMDAwKVxuICAgIHByaW50TGVuZ3RoKGxpc3RPZihBbnkoKSkpXG59In0=) (https://kotlinlang.org/docs/basic-syntax.html#type-checks-and-automatic-casts) The error here is in line 14.
https://pl.kotl.in/F9bzKs68u  ```kotlin import java.util.Arrays fun main(args: Array) { println("Hello, World!"+Arrays.toString(args)+"!") } ``` output: ``` Hello, World![a, b, c, "d, e", 'f, g', "h, "j]! ```
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. Changelog Sourced from eventsource's changelog. 1.1.1 Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal) 1.1.0 Improve performance...
It would be nice to integrate this with reveal.js so that we can run code in a presentation, which should be possible. Do you happen to have something like this...
Is the full source for play.kotlinlang.org available open source so we can run it locally (and add additional project dependencies to use in the playground)?
I wanted to play around with context receivers and am getting the error "The feature "context receivers" is experimental and should be enabled explicitly". But if there's a way to...
When `Executors.newSingleThreadExecutor().asCoroutineDispatcher()` is used as CorotuineDisaptcher in Kolin online playground , hardly success . ( But very occasionally successful.) I encounted `Evaluation stopped while it's taking too long️` error message....
When executing the following code snippet on [Kotlin Playground](https://play.kotlinlang.org/) or [Android Kotlin Playground](https://developer.android.com/training/kotlinplayground), an unexpected behavior occurs. ```kotlin fun main() { GlobalScope.launch { delay(1000L) println("World!") } println("Hello!") runBlocking { delay(700L)...