mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +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
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
|
|
"""
|