Opened 11 years ago

Closed 10 years ago

#2551 closed defect (worksforme)

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

Reported by: adrpo Owned by: sjoelund.se
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 Changed 11 years ago by adrpo

  • Summary changed from Bootstrapped compiler fails to print duplicate components with the same name and different type to Bootstrapped compiler fails to display error about duplicate components with the same name and different type

comment:2 Changed 10 years ago by perost

  • Resolution set to worksforme
  • Status changed from new to closed

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.