Notes |
|
(0000878)
|
mark
|
2016-02-20 10:50
(Last edited: 2016-02-20 13:00) |
|
The code relies on nested unique modes, which are not supported. This is a known limitation. In this case it seems to be compounded by another mode error in your code, in the use of SizeIn+0 as an input parameter. (Edit: disregard that last sentence.)
The compiler fails to report the problem accurately.
What is the purpose of writing SizeIn+0 instead of just SizeIn?
|
|
|
(0000879)
|
FlyingJester
|
2016-02-20 11:06
(Last edited: 2016-02-20 11:07) |
|
The purpose is to allow a unique output which is partially composed of a non-unique integer input.
What do you mean by nested unique modes?
|
|
|
(0000880)
|
mark
|
2016-02-20 12:58
|
|
By nested unique modes I mean modes for structured terms in which the uniqueness of the subterms is significant. That includes being partially composed of a non-unique term, as is the case in what you are attempting.
Is the bug report just that the compiler throws an exception instead of giving a spurious mode error, as it says in the reference manual? |
|
|
(0000881)
|
FlyingJester
|
2016-02-20 13:51
(Last edited: 2016-02-23 03:24) |
|
This bug report is simply that the compiler throws an exception.
|
|
|
(0000882)
|
mark
|
2016-02-20 15:23
|
|
Confirm that this is a bug. The compiler should give a proper error message when attempting to use nested unique modes.
Note that the feature itself is officially NYI.
|
|