fixes #23167; take nkOpenSymChoice into consideration caused by templates [backport] (#23168)

fixes #23167
This commit is contained in:
ringabout
2024-01-05 15:17:08 +08:00
committed by GitHub
parent c4f98b7696
commit 4eaa3b028c
2 changed files with 15 additions and 6 deletions

5
tests/import/t23167.nim Normal file
View File

@@ -0,0 +1,5 @@
# bug #23167
template sharedImport() =
import std / os
sharedImport()