Files
Nim/tests/ic/mgofmc.nim
2026-06-15 21:20:09 +02:00

4 lines
167 B
Nim

# Helper for tgenericoffer.nim: a distinct type whose `==` lives in THIS module.
type MultiCodec* = distinct int
proc `==`*(a, b: MultiCodec): bool = int(a) == int(b)