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
VS-Code should NOT be marking the template data structure as "No reference to definition." as clearly the template is referenced via the subfields of the dsExample data structure shown above. I realize that the data structure name (standalone without the subfield references) isn't being referenced as "tmpDS" anywhere. However I would count the template as referenced by virtue of any of the subfields in the template being referenced, and that is clearly the situation here.
Screenshots
See example code given above
Environment (please complete the following information):
Extension version [using the latest Code for IBM i extension as of today's date, 8/22/2024]
IBM i OS version [7.5]
Additional context
This is NOT a high priority IMO. It is, however, a bit of an annoyance to me as I use templates frequently.
The text was updated successfully, but these errors were encountered:
Describe the bug
Templates are marked as "No reference to definition." even when subfields of other data structures reference template subfields.
To Reproduce
In RPGLE, create a source member with an externally defined and qualified template data structure.
Ex:
Create a separate data structure that references columns within the template to define it's subfields.
Ex:
Expected behavior
VS-Code should NOT be marking the template data structure as "No reference to definition." as clearly the template is referenced via the subfields of the dsExample data structure shown above. I realize that the data structure name (standalone without the subfield references) isn't being referenced as "tmpDS" anywhere. However I would count the template as referenced by virtue of any of the subfields in the template being referenced, and that is clearly the situation here.
Screenshots
See example code given above
Environment (please complete the following information):
Additional context
This is NOT a high priority IMO. It is, however, a bit of an annoyance to me as I use templates frequently.
The text was updated successfully, but these errors were encountered: