Opened 7 years ago
Closed 7 years ago
#61 closed defect (fixed)
Polymorphic type disallowed in structure definition
Reported by: | pabuhr | Owned by: | Rob |
---|---|---|---|
Priority: | minor | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description (last modified by )
forall( otype T ) int foo( T i ) { struct S { T j; }; // T disallowed S s; } cfa test.c CFA Version 1.0.0 (debug) test.c:32:1 error: No reasonable alternatives for expression Applying untyped: Name: ?{} ...to: Cast of: Variable Expression: s: instance of struct S with body 1 ... to: reference to instance of struct S with body 1
Change History (2)
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 8dceeb7: