Closed treiher closed 1 year ago
package Test is type T is (E) with Size => 16, Always_Valid; type M is message A : T; B : T if A = E; end message; end Test;
tmp/test.rflx:8:10: model: error: condition "A = Test::E" on transition "B" -> "Final" is always true
The error message is wrong in this case, as A can have other valid values than the value represented by the literal E.
A
E
Fixed in version 0.12.0.
The error message is wrong in this case, as
A
can have other valid values than the value represented by the literalE
.