scala-exercises / exercises-stdlib

Scala Exercises' lessons for the standard library
Apache License 2.0
160 stars 333 forks source link

Bug in the "Named and Default Arguments" exercises #378

Closed victorcrrd closed 1 year ago

victorcrrd commented 1 year ago

While solving the exercises a couple of weeks ago I found that the code wasn't indented correctly (see image below, that belongs to these exercises). Later I found that there was a syntax error in the Scala code displayed. This PR solves it, and hopefully (I guess it wasn't displayed correctly because of the syntax error) it will also fix the indentation of the code.

NamedAndDefaultArguments