kotlin-playground icon indicating copy to clipboard operation
kotlin-playground copied to clipboard

Self-contained component to embed in websites for running Kotlin code

Results 76 kotlin-playground issues
Sort by recently updated
recently updated
newest added

The following simple program shows incorrect result on Kotlin Playground: ``` val str = "This is not that long a string" fun main() { val part = str.substringAfter("is ").substringBefore(" long")...

Boa tarde a todos! Sou novo na área e assim como muitos estou tentando aprender programação. Estou asistindo vídeo aulas. Onde me deparerei com uma atividade. segue abaixo o código!...

Sometimes it's useful to see the Abstract Syntax Tree (AST) for some code, e.g. when writing [detekt](https://github.com/detekt/detekt) / [ktlint](https://github.com/pinterest/ktlint) rules. It would be great if the playground could add the...

Bumps [ws](https://github.com/websockets/ws) from 8.13.0 to 8.17.1. Release notes Sourced from ws's releases. 8.17.1 Bug fixes Fixed a DoS vulnerability (#2231). A request with a number of headers exceeding the[server.maxHeadersCount][] threshold...

dependencies

- align mjs processing with actual state of generated mjs file - fix firefox bug

Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0. Release notes Sourced from express's releases. 4.21.0 What's Changed Deprecate "back" magic string in redirects by @​blakeembrey in expressjs/express#5935 [email protected] by @​wesleytodd in expressjs/express#5954...

dependencies

Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0. Release notes Sourced from webpack's releases. v5.94.0 Bug Fixes Added runtime condition for harmony reexport checked Handle properly data/http/https protocols in source maps Make...

dependencies

When the provided code doesn't write anything to stdout, the console window suddenly closes, without giving any hints. It should display a message such as `No output`, to keep the...

- This snippet works fine: https://pl.kotl.in/JCOc0ANsA (expected timeout failure) - This snippet (only different by one line that has nothing to do with function declarations) fails with "No main method...