mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
fixes #24844 it may not be used in other places except in `genTraverseProc`, we have to generate a `typedesc` for this case, not a weak `typedec`
11 lines
123 B
Nim
11 lines
123 B
Nim
discard """
|
|
matrix: "--mm:refc; --mm:arc"
|
|
joinable: false
|
|
"""
|
|
|
|
import m24844
|
|
|
|
u()
|
|
|
|
type E = distinct int
|
|
discard p[E]() |