Fix type comparison in semConv (#8907)

Fixes #8905
This commit is contained in:
LemonBoy 2018-09-07 21:06:30 +02:00 • committed by Andreas Rumpf
commit e69d8ec416
2 changed files with 9 additions and 1 deletions

7
tests/typerel/t8905.nim Normal file
View file

@ -0,0 +1,7 @@
type
Foo[T] = distinct seq[T]
Bar[T] = object
proc newFoo[T](): Foo[T] = Foo[T](newSeq[T]())
var x = newFoo[Bar[int]]()