Closed
Description
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
Labels
No labels