mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-02 20:14:44 +00:00
fixes broken merge
This commit is contained in:
@@ -5,7 +5,7 @@ type
|
||||
FBar* = object
|
||||
|
||||
proc new*(_: typedesc[FFoo]): int = 2
|
||||
#proc new*[T](_: typedesc[T]): int = 3
|
||||
#proc new*(_: typedesc): int = 4
|
||||
proc new*[T](_: typedesc[T]): int = 3
|
||||
proc new*(_: typedesc): int = 4
|
||||
proc new*(_: typedesc[seq[Table[int, seq[Table[int, string]]]]]): int = 5
|
||||
proc new*(_: typedesc[seq[Table[int, seq[Table[int, typedesc]]]]]): int = 6
|
||||
|
||||
@@ -10,7 +10,7 @@ type
|
||||
|
||||
|
||||
when isMainModule:
|
||||
# doAssert FBar.new() == 3
|
||||
doAssert FBar.new() == 3
|
||||
|
||||
proc new(_: typedesc[LFoo]): int = 0
|
||||
proc new[T](_: typedesc[T]): int = 1
|
||||
|
||||
Reference in New Issue
Block a user