Changes between Initial Version and Version 2 of Ticket #1441
- Timestamp:
- 2012-09-25T11:50:45Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1441
- Property Cc sjoelund.se, adrpo, petar, sjoelund.se → sjoelund.se, adrpo, petar
- Property Component → Backend
-
Ticket #1441 – Description
initial v2 1 1 Tuple assignments have a problem today: 2 2 3 {{{class B 3 {{{ 4 class B 4 5 function fn 5 6 output Integer o1 := 1; … … 12 13 (i1,i2) := fn(); 13 14 (r1,r2) := fn(); 14 end B;}}} 15 end B; 16 }}} 15 17 16 18 Class B would accept (r1,r2) := fn(), which works in this particular case (because in the C-code, a double can be assigned an integer at the loss of precision (>48-bit long ints; not a big issue)).