* fixes #19278; make `privateAccess` work with generic ref object * fixes
This commit is contained in:
parent
878919a4df
commit
7c2aa53e44
3 changed files with 18 additions and 3 deletions
|
|
@ -26,6 +26,12 @@ type
|
|||
H1*[T] = ref H2[T]
|
||||
H*[T] = H1[T]
|
||||
|
||||
Pity[T] = object
|
||||
a: T
|
||||
PityRef*[T] = ref Pity[T]
|
||||
Hope*[T] = ref object
|
||||
a: T
|
||||
|
||||
type BAalias* = typeof(B.default)
|
||||
# typeof is not a transparent abstraction, creates a `tyAlias`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue