Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5477 closed defect (fixed)

NF does not provide meaningful error message when missing component declaration

Reported by: casella Owned by: perost
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Steps to reproduce:

  • load the attached test package
  • check model M

The following error message is generated:

[1] 11:59:26 Translation Error
Internal error Instantiation of P.M failed with no error message.

Obviously, the problem here is that the component bus is not declared in M - the compiler should explain this explicitly.

Attachments (1)

P.mo (166 bytes) - added by casella 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by casella

comment:1 Changed 5 years ago by perost

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

Fixed in f755c732, the NF now gives the standard "Variable not found" error in this case.

comment:2 Changed 5 years ago by casella

Thanks Per!

Note: See TracTickets for help on using tickets.