mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-02 05:29:01 +00:00
Issue #22842 is not fixed in this branch
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
discard """
|
||||
output: '''done'''
|
||||
"""
|
||||
# Issue #22842: internal error: getTypeDescAux(tyAnything) with auto in proc type
|
||||
# https://github.com/nim-lang/Nim/issues/22842
|
||||
|
||||
proc register(cb: proc (e: auto): void) = discard
|
||||
|
||||
register(proc (e: int) = echo e)
|
||||
|
||||
echo "done"
|
||||
Reference in New Issue
Block a user