fix #15836 proc arg return type auto unexpectly match proc with concrete type
This commit is contained in:
parent
ef190f349d
commit
0cd9bdcf9f
9 changed files with 23 additions and 12 deletions
|
|
@ -558,7 +558,7 @@ proc runAllExamples(d: PDoc) =
|
|||
|
||||
proc quoted(a: string): string = result.addQuoted(a)
|
||||
|
||||
proc toInstantiationInfo(conf: ConfigRef, info: TLineInfo): auto =
|
||||
proc toInstantiationInfo(conf: ConfigRef, info: TLineInfo): (string, int, int) =
|
||||
# xxx expose in compiler/lineinfos.nim
|
||||
(conf.toMsgFilename(info), info.line.int, info.col.int + ColOffset)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue