diff --git a/compiler/concepts.nim b/compiler/concepts.nim index 800735d318..3f0d30538e 100644 --- a/compiler/concepts.nim +++ b/compiler/concepts.nim @@ -88,6 +88,13 @@ proc existingBinding(m: MatchCon; key: PType): PType = proc conceptMatchNode(c: PContext; n: PNode; m: var MatchCon): bool +proc matchType(c: PContext; f, a: PType; m: var MatchCon): bool + +proc matchKids(c: PContext; f, a: PType; m: var MatchCon, start=0): bool= + result = true + for i in start..