Opened 11 years ago

Last modified 9 years ago

#2377 new defect

Not returning in function with tuple output causes error in bootstrapped compiler

Reported by: perost Owned by: sjoelund.se
Priority: low Milestone: Future
Component: MetaModelica Version: trunk
Keywords: Cc:

Description

The following function causes an error ("Invalid pattern: (outString1,outString2) of type #NORETCALL#") in the bootstrapped compiler:

function test
  input String inString;
  output String outString1;
  output String outString2;
algorithm
  (outString1, outString2) := matchcontinue(inString)
    case (_) then fail();
    else then fail();
  end matchcontinue;
end test;

Change History (2)

comment:1 Changed 10 years ago by sjoelund.se

  • Milestone Bootstrapping deleted

Unsetting milestone since bootstrapping is already finished.

comment:2 Changed 9 years ago by dietmarw

  • Milestone set to Future
Note: See TracTickets for help on using tickets.