christophsturm
06/22/2017, 11:59 AMfun error(field: String, value: String)
is it Nothing?marstran
06/22/2017, 12:28 PM=
, it will be inferred by the expression on the right hand side.karelpeeters
06/22/2017, 12:33 PMNothing
means that the function never actually returns, ie. it always throws an exception.Paul Woitaschek
06/22/2017, 1:42 PMPaul Woitaschek
06/22/2017, 1:42 PMfun loopieLoop() : Nothing {
while (true) {
println()
}
}