mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-25 08:01:41 +00:00
fixes #22861; Error: internal error: invalid kind for lastOrd(tyGenericParam)
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -252,3 +252,9 @@ block: # issue #9381
|
||||
|
||||
var x: GenericObj[int]
|
||||
static: doAssert evalCount == 1
|
||||
|
||||
block: # bug #22861
|
||||
proc fromHex[N](A: type array[N, int]) = discard
|
||||
proc fromHex (T: typedesc[array[1, int]]) = discard
|
||||
fromHex(array[1, int])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user