* fix #15662

* alternative fix

* fix spacing
This commit is contained in:
cooldome 2020-10-23 10:14:54 +01:00 • committed by GitHub
commit ae320b4e7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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))