Hi GnuCOBOL team,
if you define a typdef with level 88 it's not possible to access this field in procedure division.
You got an error at compile time:
Please take a look in the attached testcase while using command:
cobc -x tc4156.cbl
Kind regards
Sebastian Steinweg
Easirun Europa GmbH
Likely the same issue as [bugs:#740] (at least related) - the references are resolved at a bad time / from the wrong place.
Related
Bugs: #740
The other way around may also be true, see this test case:
I compiled the examples given with 3.3-dev.0 and received no compiler errors. I ran the result and received "GNU-TYPEDEF-level-88 >> ee:0004156 >> GNU:0000000000 >> passed".
I am surprised, though, that USAGE followed by a type name works. Type names are types, not usages. TYPE typename is correct, and also works.