Changes between Initial Version and Version 1 of Ticket #166


Ignore:
Timestamp:
Apr 7, 2020, 8:54:01 PM (19 months ago)
Author:
mlbrooks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #166

    • Property Priority changed from major to minor
    • Property Summary changed from Cannot access inner member by reference when structs are generic to Cannot get reference to generic member of generic struct
  • Ticket #166 – Description

    initial v1  
    3131     a(int) & thinga = thingb.aa;
    3232}}}
     33
     34Using a pointer, in place of a reference, may be a workaround.  This version compiles properly:
     35{{{
     36...
     37int main() {
     38    b2(int) thingb;
     39    a(int) * thinga = &thingb.aa;
     40}
     41}}}