Opened 13 years ago
Closed 12 years ago
#1570 closed discussion (worksforme)
Cryptic error messages returned when checking a model
Reported by: | Leonardo Laguna | Owned by: | Leonardo Laguna |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | Leonardo Laguna |
Description (last modified by )
We have this very simple model (that is incorrect)
package Danne model M1 parameter Real x=1; Danne.M2 m21(M31.m41.m51.x=2); end M1; model M2 parameter Real x=1; Danne.M3 m31; end M2; end Danne;
and when checking the model we obtain this error message that is very hard to understand:
Error: Variable m21: In modifier (M31 = (m41 = (m51 = (x = 2), class or component x), class or component m51), class or component m41), class or component M31 not found in <M2>
Is it possible to improve the printing of these type of errors?
Change History (2)
comment:1 by , 12 years ago
Cc: | leonardo.laguna, → leonardo.laguna |
---|---|
Component: | → Backend |
Description: | modified (diff) |
comment:2 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I get:
[a.mo:1:1-10:10:writable] Error: Class M3 not found in scope Danne.
, which seems reasonable.