You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OMake allows a declare instruction to take an
initializer, but silently ignores it. The
documentation (see Section 5.7) does not
mention this "extension".
declare public.X = init
# Uncomment the next line to force "unbound variable: ..." error.
#println($"+ X = <$(public.X)>")
public.X = assign
println($"+ X = <$(public.X)>")
IMHO it would be preferable to have a warning in
such cases, like, e.g. "initialization ignored".
The text was updated successfully, but these errors were encountered:
OMake allows a
declare
instruction to take aninitializer, but silently ignores it. The
documentation (see Section 5.7) does not
mention this "extension".
IMHO it would be preferable to have a warning in
such cases, like, e.g. "initialization ignored".
The text was updated successfully, but these errors were encountered: