mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-29 10:01:39 +00:00
Fix sigsegv in getTypeImpl for unnamed tuple (#5440)
avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862
This commit is contained in:
committed by
Andreas Rumpf
parent
73387e89a0
commit
e2567e2e03
@@ -120,3 +120,7 @@ test(Tree):
|
||||
right: ref Tree
|
||||
test(proc (a: int, b: Foo[2,float]))
|
||||
test(proc (a: int, b: Foo[2,float]): Bar[3,int])
|
||||
|
||||
# bug #4862
|
||||
static:
|
||||
discard typedesc[(int, int)].getTypeImpl
|
||||
|
||||
Reference in New Issue
Block a user