#3518 closed defect (fixed)
vector with fill fail
Reported by: | Vitalij Ruge | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.4 |
Component: | Frontend | Version: | |
Keywords: | Cc: |
Description
checkModel for
model fillTest Boolean b = false; constant Integer n = 2; Boolean[:] vecB = vector([fill(true, n-1);b]); end fillTest;
return
[fillTest: 5:2-5:47]: Got type mismatch error, but matching types Boolean[1, 1]. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica.
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Priority: | high → normal |
---|
comment:3 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:4 by , 9 years ago
Milestone: | Future → 1.9.4 |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Fixed in 1034be4/OMCompiler.
comment:5 by , 9 years ago
The error-messages for matrices when you send unexpected array dimensions are still horrible though...
Note:
See TracTickets
for help on using tickets.
Note:
replace true in fill with b, work!