Files
Nim/tests/metatype
Jake Leahy 91d51923b9 Fix tupleLen not skipping aliases (#25392)
This code was failing to compile with `Error: unhandled exception:
semmagic.nim(247, 5) operand.kind == tyTuple tyAlias [AssertionDefect]`
```nim
import std/typetraits

type
  Bar[T] = T 
  Foo = Bar[tuple[a: int]]

echo Foo.tupleLen
```

Fix was just making `tupleLen` skip alias types also
2025-12-28 16:45:07 +01:00
..
2019-05-05 08:26:22 +02:00
2021-06-02 13:13:23 +02:00
2017-06-20 11:29:42 +02:00
2018-12-11 21:23:21 +01:00
2020-05-03 00:12:52 +02:00
2022-09-23 13:05:05 +02:00
2022-09-23 13:05:05 +02:00
2019-11-06 14:35:45 +01:00