welcome method not interpolating string correctly
kevin-orr opened this issue · 2 comments
kevin-orr commented
Hiya Daniela,
In listing §7.5 the welcome method for Robot
is missing the interpolation operator s".."
, so it should look like:
def welcome(n: String) = s"Welcome $n! My name is $name"
rather than:
DanielaSfregola commented
Thanks @kevin-orr! LGTM
And sorry it took so long to notice this issue - notifications on new prs/issues were off 🤦
DanielaSfregola commented
Closing as I have fixed it in https://github.com/DanielaSfregola/get-programming-with-scala/pull/58/files