Errata: page 240


#1

in page 240,

fun studentMessage(status: StudentStatus): String {
return when (studentStatus) { -> studentStatus must be status


#2

Good catch. Thanks for bringing this to our attention!