Skip to content

Two more spaces make the code block crashed. #1189

Closed
@dongxuwang

Description

@dongxuwang

You may find this second code block on page https://docs.scala-lang.org/tour/default-parameter-values.html
which should look like

class Point(val x: Double = 0, val y: Double = 0)

val point1 = new Point(y = 1)

But it crashed because of two more spaces after the code block type word tut

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions