Opened 7 years ago
#4544 new defect
Nested match-statements with tuple outputs causes template error
Reported by: | Per Östlund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | MetaModelica | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
MetaModelica code like this:
(b, s) := match s case "test" then match s case "test" then (true, "test"); end match; end match;
gives the error:
[CodegenCFunctions.tpl:3547:14-3547:14:writable] Error: Template error: expTypeShort: (Boolean, String).
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Test case