fixes #25419; lift magic types to typeclasses (#25421)

fixes #25419

(cherry picked from commit 40480fe348)
This commit is contained in:
ringabout
2026-01-14 23:25:52 +08:00
committed by narimiran
parent c022120ebb
commit 97c160271c
2 changed files with 19 additions and 2 deletions

View File

@@ -116,3 +116,13 @@ block:
s(something)
s(otherthing, something)
s(something, otherthing)
block:
type
Test = set
Test2 = seq
Test3 = array
doAssert set is Test
doAssert seq is Test2
doAssert array is Test3