Changes between Initial Version and Version 1 of Ticket #176
- Timestamp:
- May 17, 2020, 9:28:57 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #176 – Description
initial v1 11 11 int fred() { 12 12 Link(int) l; 13 int * ip = l.top; // assignment works13 int i = l.count, * ip = l.top; 14 14 __int128 I = l.atom; 15 ip = l.top; // assignment fails 15 i = l.count; 16 ip = l.top; 16 17 I = l.atom; 17 18 } … … 19 20 {{{ 20 21 CFA Version 1.0.0 (debug) 21 test1.cfa:1 4:1 error: No reasonable alternatives for expression Applying untyped:22 test1.cfa:15:1 error: No reasonable alternatives for expression Applying untyped: 22 23 Name: ?=? 23 24 ...to: … … 27 28 Name: l 28 29 }}} 30 The assignment fails because top is of type T. Assignment to non-polymorphic types works.