Opened 7 years ago
Last modified 7 years ago
#5178 reopened defect
Incorrect Warning - not balanced connector
| Reported by: | Owned by: | Per Östlund | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | instantiation balanced connector | Cc: |
Description
In the following code all variables inside AA should have prefix input, and since that there should be no message about "unbalanced connector AA", but this message apeears when instantiating AA.
class test connector A Real x; end A; connector AA = input A; end test;
Change History (4)
comment:1 by , 7 years ago
| Component: | *unknown* → New Instantiation |
|---|---|
| Owner: | changed from to |
comment:2 by , 7 years ago
| Milestone: | 1.13.0 → 2.0.0 |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
comment:3 by , 7 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
The new frontend doesn't give a warning because we haven't implemented these checks in it yet. So lets keep this ticket open for now, so we can make sure this works correctly when the new frontend actually does the checks.
comment:4 by , 7 years ago
| Milestone: | 2.0.0 → 2.1.0 |
|---|
Retargeting to 2.1.0, for 2.0.0 I would focus on getting to work stuff that doesn't
Note:
See TracTickets
for help on using tickets.

Flattening this model with the new front-end
-d=newInstproduces no warning. This will be the default behaviour in 2.0.0