#3518 closed defect (fixed)
vector with fill fail
Reported by: | vitalij | Owned by: | sjoelund.se |
---|---|---|---|
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 Changed 9 years ago by vitalij
comment:2 Changed 9 years ago by vitalij
- Priority changed from high to normal
comment:3 Changed 9 years ago by sjoelund.se
- Owner changed from somebody to sjoelund.se
- Status changed from new to accepted
comment:4 Changed 9 years ago by sjoelund.se
- Milestone changed from Future to 1.9.4
- Resolution set to fixed
- Status changed from accepted to closed
Fixed in 1034be4/OMCompiler.
comment:5 Changed 9 years ago by sjoelund.se
The error-messages for matrices when you send unexpected array dimensions are still horrible though...
comment:6 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.4-1.9.x
Milestone renamed
comment:7 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4-1.9.x to 1.9.4
Milestone renamed
Note: See
TracTickets for help on using
tickets.
Note:
replace true in fill with b, work!