Skip to content
Prev Previous commit
Next Next commit
Merge branch 'devel' of https://github.com/nim-lang/Nim into nominal-…
…generic-inst
  • Loading branch information
metagn committed Nov 12, 2024
commit a37c2a6bb313aba88ce3bbe1f0e073c88a03568b
4 changes: 2 additions & 2 deletions tests/objects/tgenericsubtype.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
block:
block: # has generic field
type
Foo[T] = object of RootObj
x: T
Expand All @@ -8,7 +8,7 @@ block:

foo(Bar)

block:
block: # no generic field
type
Foo[T] = object of RootObj
Bar = object of Foo[int]
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.