Skip to content

Scastie examples in the internals docs don't work #14208

@ckipp01

Description

@ckipp01

I'm not 100% sure where this report actually belongs, but when looking at the dotty docs at the Type System information they contain scatsie links with code that allow you to run the example. I assume these aren't meant to be ran? Currently it gives the impression that you can which leads the user to hit the play button and be met with a ton of errors.

Screenshot 2022-01-04 at 13 21 03

Expectation

I'd expect that if there are runnable code blocks here that they can be ran without issue.

Sort of an aside, but I was a bit confused when looking around today for info on the type system. I first started out at https://dotty.epfl.ch/docs/internals/type-system.html but then tried to navigate to 3.1.0 via the top right version chooser and was then lead to https://scala-lang.org/api/3.1.0/ which is only the api docs, none of the Internals section for that version like I was hoping for. Why is one on dotty.epfl.ch and the other on scala-lang, and why does the scala-lang one not hold all the other information?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions