Opened 12 years ago

Closed 12 years ago

#1847 closed defect (fixed)

Duplicates in the package.order file are reported in the wrong place

Reported by: Adrian Pop Owned by: Martin Sjölund
Priority: high Milestone: 1.9.0
Component: Frontend Version:
Keywords: Cc: Martin Sjölund

Description

TestStaticDrum1 and TestStaticDrum2 are defined twice in file:
ThermoSysPro/Examples/SimpleExamples/package.order and the error
should point to this file, not the one below:

"[ThermoSysPro/Examples/SimpleExamples/TestStaticDrum1.mo:2:1-72:20:writable] Error: An element with name TestStaticDrum1,TestStaticDrum2 is already declared in this scope.
"

Change History (3)

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

Owner: changed from somebody to Martin Sjölund
Status: newassigned

I can only see one definition in the file, even when I check the old version before any changes were made by me. So is this in a new version of the library?

comment:2 by Adrian Pop, 12 years ago

Some version I got in the email. Just add:

TestStaticDrum1
TestStaticDrum2

at the end of package.order as duplicates to reproduce this error.

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

Resolution: fixed
Status: assignedclosed

Fixed in r13079

Note: See TracTickets for help on using tickets.