Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#2915 closed defect (fixed)

Warn or error when re-binding the same variable in pattern mattching

Reported by: Adrian Pop Owned by: Martin Sjölund
Priority: high Milestone: 1.9.4
Component: MetaModelica Version: trunk
Keywords: Cc:

Description

case (A(x), B(x))

should give at least a warning.

Change History (4)

comment:1 by Martin Sjölund, 9 years ago

I opened m:#1921 to give the same kind of warnings for (x,x) := f(...).

comment:2 by Martin Sjölund, 9 years ago

Milestone: Future1.9.4
Resolution: fixed
Status: newclosed

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.