* fix #15662

* alternative fix

* fix spacing

(cherry picked from commit ae320b4e7d)
This commit is contained in:
cooldome
2020-10-23 10:14:54 +01:00
committed by narimiran
parent 7a9db0e5c5
commit d1924f2852
2 changed files with 20 additions and 17 deletions

View File

@@ -70,3 +70,8 @@ static: # issue #11861
var ifb2: InheritedFromBase
initBase(ifb2)
doAssert(ifb2.txt == "Initialized string from base")
static: # issue #15662
proc a(T: typedesc) = echo T.type
a((int, int))