mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-27 17:11:40 +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