# yea its t5167_4.nim in `errmsgs` type TGeneric[T] = object x: int proc foo[B](x: int) = echo "foo1" proc foo(x: string) = echo "foo2" proc bar(x: proc (x: int)) = echo "bar" bar foo # but this only has a problem after the changes in this PR: # https://github.com/nim-lang/Nim/pull/23033 # This is a messy problem