diff options
author | SirOlaf <34164198+SirOlaf@users.noreply.github.com> | 2024-07-20 15:46:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-20 15:46:25 +0200 |
commit | 9ca646acd4565a72a7115777d58b115787b19b0c (patch) | |
tree | 71be28ce7488d8efb10de10f05414a734328bca2 /tests | |
parent | 31ee75f10e6482cd482d329507190ac850eee2cf (diff) | |
download | Nim-9ca646acd4565a72a7115777d58b115787b19b0c.tar.gz |
Merge tyUncheckedArray with tySeq in typeRel (#23866)
Ref https://github.com/nim-lang/Nim/issues/23836#issuecomment-2233957324 Their types are basically equivalent so they should behave the same way for type relations.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/typerel/tuncheckedarray_eq.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/typerel/tuncheckedarray_eq.nim b/tests/typerel/tuncheckedarray_eq.nim new file mode 100644 index 000000000..c07696b5f --- /dev/null +++ b/tests/typerel/tuncheckedarray_eq.nim @@ -0,0 +1,2 @@ +type p = ptr UncheckedArray[char] +doAssert p is ptr UncheckedArray \ No newline at end of file |