Opened 8 years ago

Closed 6 years ago

#4154 closed defect (fixed)

Missing error-message for modification of non-existing element

Reported by: Martin Sjölund Owned by: somebody
Priority: high Milestone: 2.0.0
Component: Frontend Version:
Keywords: Cc:

Description

The following model is missing an error-message for modification of non-existing element (or attribute in this case):

model M
  connector RealInput = input Real;
  RealInput r(y(unit="degC"));
end M;

Change History (4)

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

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:2 by Francesco Casella, 7 years ago

Milestone: 1.12.01.13.0

Milestone moved to 1.13.0 due to 1.12.0 already being released.

comment:3 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:4 by Francesco Casella, 6 years ago

Milestone: 1.14.02.0.0
Resolution: fixed
Status: newclosed

The NF gives the following error:

[2] 20:09:58 Translation Error
[M: 3:15-3:29]: Modified element y not found in class Real.

This will be the default behaviour in 2.0.0

Note: See TracTickets for help on using tickets.