scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.88k stars 1.06k forks source link

Scaladoc: Implement "Run" logic in snippets #13065

Closed pikinier20 closed 3 years ago

pikinier20 commented 3 years ago

Recent changes to snippet prepare "Run" button in Scala snippets. We can discuss how and when should we allow user to run snippet (maybe via Scastie?)

deusaquilus commented 2 years ago

Hey @pikinier20. I don't see the "Run" button in the Dotty docs anymore. Was this feature removed recently?

pikinier20 commented 2 years ago

Hey, it's not removed. We've just restricted the logic: Now the snippet can only be ran if it's checked by a snippet compiler. (It prevents non-sensical snippets from being ran)