diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-01-08 17:07:46 -0800 |
---|---|---|
committer | Timothee Cour <timothee.cour2@gmail.com> | 2019-01-08 17:07:46 -0800 |
commit | fc7fcca9df305c02489bad4b969621cf9d8cb4f5 (patch) | |
tree | 710272fcc39f428df8ac409618cd94b88b72f914 | |
parent | bf3a308e86e7c5999855546962aed564218a8121 (diff) | |
download | Nim-fc7fcca9df305c02489bad4b969621cf9d8cb4f5.tar.gz |
fix leftover comment from #9766
-rw-r--r-- | compiler/semcall.nim | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index 7991640ea..3723d3fc1 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -290,13 +290,11 @@ proc getMsgDiagnostic(c: PContext, flags: TExprFlags, n, f: PNode): string = let sym = n.sons[1].typ.sym var typeHint = "" if sym == nil: - #[ - Perhaps we're in a `compiles(foo.bar)` expression, or - in a concept, eg: - ExplainedConcept {.explain.} = concept o - o.foo is int - We coudl use: `(c.config $ n.sons[1].info)` to get more context. - ]# + # Perhaps we're in a `compiles(foo.bar)` expression, or + # in a concept, eg: + # ExplainedConcept {.explain.} = concept x + # x.foo is int + # We coudl use: `(c.config $ n.sons[1].info)` to get more context. discard else: typeHint = " for type " & getProcHeader(c.config, sym) |