mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
16 lines
279 B
Nim
16 lines
279 B
Nim
# bug #9891
|
|
|
|
import "."/tsamename2
|
|
|
|
# this works
|
|
callFun(fooBar2)
|
|
|
|
when true:
|
|
# Error: attempting to call routine: 'processPattern'
|
|
callFun(fooBar)
|
|
|
|
when true:
|
|
# BUG: Error: internal error: expr(skModule); unknown symbol
|
|
proc processPattern() = discard
|
|
callFun(fooBar)
|