-
- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Test
type Foo = (proc(_: pointer): void) proc bar(i: ptr[int]) = discard proc bar(i: ptr[char]) = discard let fooBar = cast[Foo](bar)Error
Error: internal error: expr(nkClosedSymChoice); unknown node kind No stack traceback availablehttps://play.nim-lang.org/#ix=3zKF
>nim -v Nim Compiler Version 1.5.1 [Linux: amd64] Compiled at 2021-09-19 Copyright (c) 2006-2021 by Andreas Rumpf git hash: 6cd219c3a38c5f1a0712b0b5d07a3ea4ab02ff74 active boot switches: -d:release