google-developer-training / kotlin-bootcamp

Report issues with the Kotlin Bootcamp for Programmers codelab
7 stars 2 forks source link

L2.1 issue: #136

Open jderijke opened 2 years ago

jderijke commented 2 years ago

The slides corresponding to this lesson have an error for single expression functions fun double(x: Int): Int { x 2 } should be fun double(x: Int): Int { return x 2 }

Also the return type can be omitted from the compact version