Errata: page 240


#1

in page 240,

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