Logo
Explore
Projects
Krypton
CPU vs AI Eko
Help
Register Sign In
mirrors/Nim
1
0
Fork 0
You've already forked Nim
mirror of https://github.com/nim-lang/Nim.git synced 2026-08-02 05:29:01 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
version-2-2
Nim/tests/ccgbugs2
History
Mamy Ratsimbazafy 5c1fdc90b6 Fix #25883 tuple sighash collision (#25889)
fixes #25886
fixes #25883

See #25883

Tuples only hash leaves so if 2 tuples have the same flattened
representation they collide in the C codegen.

Fix by hashing the length as well to disambiguate nesting levels.

---------

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
(cherry picked from commit e50fafc971)
2026-07-18 10:22:47 +02:00
..
m25294
closes #25294; adds a test case (#25833)
2026-05-22 09:00:18 +02:00
m25459
fixes #25459; hashType returns different hash from instantiated generics with distinct types (#25471)
2026-02-02 07:57:46 +01:00
t25294.nim
closes #25294; adds a test case (#25833)
2026-05-22 09:00:18 +02:00
t25459.nim
fixes #25459; hashType returns different hash from instantiated generics with distinct types (#25471)
2026-02-02 07:57:46 +01:00
t25459b.nim
fixes #25459; hashType returns different hash from instantiated generics with distinct types (#25471)
2026-02-02 07:57:46 +01:00
t25883_tuple_sighash_collision.nim
Fix #25883 tuple sighash collision (#25889)
2026-07-18 10:22:47 +02:00
tcodegen.nim
fixes #25945; cannot map the empty seq type to a C type (#25954)
2026-07-06 08:42:41 +02:00
tinefficient_const_table.nim
testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343)
2020-12-14 10:58:29 +01:00
Powered by Gitea Version: 1.24.3 Page: 308ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API