#1711 closed defect (fixed)
Check for illegal each
| Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | 1.16.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: | Martin Sjölund, Adrian Pop |
Description (last modified by )
Should return an error n is not an array declaration:
model N Real r; end N; model M N n(each r = 1.0); end M;
Change History (4)
comment:1 by , 13 years ago
| Component: | → Backend |
|---|---|
| Description: | modified (diff) |
comment:2 by , 10 years ago
| Milestone: | → Future |
|---|
comment:3 by , 5 years ago
| Component: | Backend → New Instantiation |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:4 by , 5 years ago
| Milestone: | Future → 1.16.0 |
|---|
Note:
See TracTickets
for help on using tickets.

The new frontend gives a warning in this case, and an error if
--strictis used.