Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5477 closed defect (fixed)

NF does not provide meaningful error message when missing component declaration

Reported by: Francesco Casella Owned by: Per Östlund
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 Francesco Casella 6 years ago.

Download all attachments as: .zip

Change History (3)

by Francesco Casella, 6 years ago

Attachment: P.mo added

comment:1 by Per Östlund, 6 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by Francesco Casella, 6 years ago

Thanks Per!

Note: See TracTickets for help on using tickets.