mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 23:05:27 +00:00
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