Open panacekcz opened 7 years ago
Currently, these tests do not pass (wrong):
byte @ArrayLen(2) [] bytes = new byte[] {100, '%'}; char @ArrayLen(3) [] chars = new char[] {45, 'A', '%'};
While these tests pass (correct):
int @ArrayLen(3) [] ints = new int[] {2, 2, 2}; byte @StringVal("d%") [] bytes = new byte[] {100, '%'}; char @StringVal("-A%") [] chars = new char[] {45, 'A', '%'};
This should be resolved when @StringVal("d%") is a subtype of @ArrayLen(2).
@StringVal("d%")
@ArrayLen(2).
Currently, these tests do not pass (wrong):
While these tests pass (correct):
This should be resolved when
@StringVal("d%")
is a subtype of@ArrayLen(2).