lifter
08/28/2018, 8:14 PMfun justLoop(): Nothing { while (true) {} }
, the code does compile.Dominaezzz
08/28/2018, 8:15 PMlifter
08/28/2018, 8:29 PMNothing
as the return type, then it will indeed "return" Nothing
, whereas if I don't specify Nothing
, then the inferred Unit
is "returned"?Dominaezzz
08/28/2018, 8:30 PMlifter
08/28/2018, 8:31 PM