mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-29 10:01:39 +00:00
Merge branch 'master' into vm2
This commit is contained in:
@@ -322,7 +322,7 @@ proc isOpImpl(c: PContext, n: PNode): PNode =
|
||||
var match: bool
|
||||
let t2 = n[2].typ
|
||||
case t2.kind
|
||||
of tyTypeClass:
|
||||
of tyTypeClasses:
|
||||
var m: TCandidate
|
||||
InitCandidate(m, t2)
|
||||
match = matchUserTypeClass(c, m, emptyNode, t2, t1) != nil
|
||||
|
||||
Reference in New Issue
Block a user