bcc icon indicating copy to clipboard operation
bcc copied to clipboard

Assigning function pointers does not check for "var" argument differences

Open GWRon opened this issue 1 year ago • 0 comments

NG does ignore the "var" property of a function argument when checking if it can assign it to something defining a similar signature (but without var)

This compiles in NG (but is caught in legacy).

SuperStrict
Framework Brl.StandardIO

Function F(i:Int Var)
End Function

Local x(i:Int) = F

GWRon avatar Nov 26 '24 08:11 GWRon