mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 14:55:24 +00:00
fixes #24905
fixes #24903
fixes https://github.com/nim-lang/Nim/issues/11805
fixes https://github.com/nim-lang/Nim/issues/15650
In the first phase of generic checking, we cannot warn/error symbols
because they can belong a false branch of `when` or there is a
`push/pop` options using open symbols. So we cannot decide whether to
warn/error or not
(cherry picked from commit 0506d5b973)
12 lines
185 B
Nim
12 lines
185 B
Nim
system.echo#[!]#
|
|
system.once
|
|
system.`$` 1
|
|
|
|
discard """
|
|
$nimsuggest --tester $file
|
|
>highlight $1
|
|
highlight;;skProc;;1;;7;;4
|
|
highlight;;skTemplate;;2;;7;;4
|
|
highlight;;skFunc;;3;;8;;1
|
|
"""
|