Commit Graph

2 Commits

Author SHA1 Message Date
Julien Fischer
86a767095f Fix a bug in the C# implementation of array.shrink/3.
library/array.m:
   Workaround the fact that C#'s 'is' operator has some fairly surprising
   behaviour with arrays of integer types.

tests/hard_coded/array_primitives.{m,exp}:
tests/hard_coded/array_shrinks.{m,exp}:
   Improve the coverage of these tests.
2019-09-05 17:06:24 +10:00
Julien Fischer
476c28933e Add a test case for a recent bug fix.
Add a regression test for the bug fixed in commit 65f683e.  There were multiple
places that had the same underlying issue; the new test case covers those as
well.

tests/hard_coded/Mmakefile:
tests/hard_coded/array_primitives.{m,exp}:
    Add the new test case.
2019-09-02 17:02:59 +10:00