diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-12-09 00:09:03 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-12-09 00:09:03 +0200 |
commit | de3b7cd413e02498c0ee5554f55f9c92d2baa9ab (patch) | |
tree | 0ce3f72d36fcc09a48b12f7e04a5f7e633da9a18 /compiler/jsgen.nim | |
parent | 208924b92921ea10afc27dbab059e612113eee48 (diff) | |
download | Nim-de3b7cd413e02498c0ee5554f55f9c92d2baa9ab.tar.gz |
progress towards adding negative type classes
[unittest bugfixes] the block form of check now allows comments errors when inspecting the arguments of var-accepting procs
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r-- | compiler/jsgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index 54ee43069..a3c88824d 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -130,7 +130,7 @@ proc mapType(typ: PType): TJSTypeKind = result = etyObject of tyNil: result = etyNull of tyGenericInst, tyGenericParam, tyGenericBody, tyGenericInvokation, tyNone, - tyForward, tyEmpty, tyExpr, tyStmt, tyTypeDesc, tyTypeClass: + tyForward, tyEmpty, tyExpr, tyStmt, tyTypeDesc, tyTypeClasses: result = etyNone of tyProc: result = etyProc of tyCString: result = etyString |