Opened 11 years ago

Closed 11 years ago

#2551 closed defect (worksforme)

Bootstrapped compiler fails to display error about duplicate components with the same name and different type

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

Description

See r18836:

function blah
protected
  tuple<BackendDAE.StrongComponents, list<BackendDAE.EqSystem>> tmpNodeComps;
  BackendDAE.StrongComponents iNodeComps, tmpNodeComps;

This fails with an error message that variable "blah" is not found.

Change History (2)

comment:1 by Adrian Pop, 11 years ago

Summary: Bootstrapped compiler fails to print duplicate components with the same name and different typeBootstrapped compiler fails to display error about duplicate components with the same name and different type

comment:2 by Per Östlund, 11 years ago

Resolution: worksforme
Status: newclosed

It seems this works now, I get an error message about duplicate elements for cases such as this.

Note: See TracTickets for help on using tickets.