Oxygene .2275 .NET. Would you consider this to be a compiler bug? It would be useful to trap the omission:
method returnbyte: byte;
var
b : byte;
begin
b := 5;
end;
There’s no result := b statement, so the method does nothing. Easy to forget when coding.