diff options
author | dom96 <dominikpicheta@googlemail.com> | 2011-10-31 15:39:01 +0000 |
---|---|---|
committer | dom96 <dominikpicheta@googlemail.com> | 2011-10-31 15:39:01 +0000 |
commit | e1a82987af8a394e6bcb7a36c9a298074472db19 (patch) | |
tree | 22f47f8d7216bd75193d06c0258bf8c1da741b23 /compiler | |
parent | 15fcb58e2aff206ac051a6ab9afcacc05ec602c7 (diff) | |
download | Nim-e1a82987af8a394e6bcb7a36c9a298074472db19.tar.gz |
Fixed the tester. Some fixes and additions for the JS backend.
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/ecmasgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ecmasgen.nim b/compiler/ecmasgen.nim index d7af07e60..3d9e99d44 100755 --- a/compiler/ecmasgen.nim +++ b/compiler/ecmasgen.nim @@ -1141,7 +1141,7 @@ proc genMagic(p: var TProc, n: PNode, r: var TCompRes) = [filen, line, mergeExpr(a)]) of mNew, mNewFinalize: genNew(p, n, r) of mSizeOf: r.res = toRope(getSize(n.sons[1].typ)) - of mChr: gen(p, n.sons[1], r) # nothing to do + of mChr, mArrToSeq: gen(p, n.sons[1], r) # nothing to do of mOrd: genOrd(p, n, r) of mLengthStr: unaryExpr(p, n, r, "", "($1.length-1)") of mLengthSeq, mLengthOpenArray, mLengthArray: |