summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-13 15:58:03 +0100
committerAraq <rumpf_a@web.de>2013-12-13 15:58:03 +0100
commit8c553fa8a2e9476c67c6348bf64c02ea0f19a679 (patch)
treece32cf3cd815f4dbb7e5f0f00942f43e1a7871c0 /compiler/semexprs.nim
parent328f1932925889d5bb7f91c68fb1504b9b26ba8c (diff)
parent01661daf76daa713d25d06d202f83c842a6f1fe3 (diff)
downloadNim-8c553fa8a2e9476c67c6348bf64c02ea0f19a679.tar.gz
Merge branch 'master' into vm2
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r--compiler/semexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 4b263b3a3..450acbf29 100644
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -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