Open DeviceIntelligenceUser opened 7 years ago
Sorry this took so long (my time for asn1ate has been very limited), but I got around to experimenting with this today. It turns out that true
is not a valid value for a BOOLEAN
-- the valid values are TRUE
or FALSE
. There may be cases where a valueref called true
should be resolved to TRUE
, but the case you describe above is simply invalid input.
With input
Foo DEFINITIONS ::= BEGIN bar BOOLEAN ::= true END
, I get output containingbar = univ.Boolean(true)
. I would expect to get (1) a parse error; or (2) valid (non-erroring) python code. (The 'T' in 'true' should be capitalized,True
; currently I get a NameError)The full output is