Opened 13 years ago
Closed 13 years ago
#1911 closed defect (invalid)
Detects a duplicate element where none exists
| Reported by: | Martin Sjölund | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.0 |
| Component: | Frontend | Version: | |
| Keywords: | Cc: |
Description
The following detects a duplicate element where none exists:
model M
record R
end R;
function f
input R r;
output Real o;
algoritm
o := 1.0;
end f;
Real r = f();
end M;
[a.mo:6:5-6:18:writable] Error: An element with name o is already declared in this scope.
Note:
See TracTickets
for help on using tickets.

Ooops... algoritm is not the proper keyword...