method foo ( ) if 1 then var v1 := 1; end; return v1; end;