Changes between Initial Version and Version 2 of Ticket #1441


Ignore:
Timestamp:
2012-09-25T11:50:45Z (13 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1441

    • Property Cc sjoelund.se, adrpo, petar, sjoelund.se → sjoelund.se, adrpo, petar
    • Property ComponentBackend
  • Ticket #1441 – Description

    initial v2  
    11Tuple assignments have a problem today:
    22
    3 {{{class B
     3{{{
     4class B
    45  function fn
    56    output Integer o1 := 1;
     
    1213  (i1,i2) := fn();
    1314  (r1,r2) := fn();
    14 end B;}}}
     15end B;
     16}}}
    1517
    1618Class 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)).