aboutsummaryrefslogtreecommitdiff
path: root/dochack.js
diff options
context:
space:
mode:
Diffstat (limited to 'dochack.js')
-rw-r--r--dochack.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/dochack.js b/dochack.js
index 0a3a407..cc13bc6 100644
--- a/dochack.js
+++ b/dochack.js
@@ -1,4 +1,4 @@
-/* Generated by the Nim Compiler v1.3.3 */
+/* Generated by the Nim Compiler v1.3.5 */
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
@@ -417,7 +417,7 @@ function toJSStr(s_11215096) {
var Tmp5;
var Tmp7;
- var result_11215097 = "";
+ var result_11215097 = null;
var res_11215170 = newSeq_11215128((s_11215096).length);
var i_11215172 = 0;
@@ -472,7 +472,7 @@ function toJSStr(s_11215096) {
j_11215174 += 1;
}
} while(false);
- if (res_11215170.length < j_11215174) { for (var i=res_11215170.length;i<j_11215174;++i) res_11215170.push(""); }
+ if (res_11215170.length < j_11215174) { for (var i=res_11215170.length;i<j_11215174;++i) res_11215170.push(null); }
else { res_11215170.length = j_11215174; };
result_11215097 = res_11215170.join("");
@@ -2935,7 +2935,7 @@ function auxWriteStackTrace_11140038(f_11140040) {
var it_11140051 = f_11140040;
var i_11140053 = 0;
var total_11140055 = 0;
- var tempFrames_11140062 = arrayConstr(64, {Field0: "", Field1: 0, Field2: ""}, NTI11140043);
+ var tempFrames_11140062 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI11140043);
L1: do {
L2: while (true) {
if (!!((it_11140051 == null))) Tmp3 = false; else { Tmp3 = (i_11140053 <= 63); } if (!Tmp3) break L2;
@@ -3013,7 +3013,7 @@ function newSeq_11215128(len_11215131) {
var F={procname:"newSeq.newSeq",prev:framePtr,filename:"/home/genotrance/programming/nimdevel/lib/system.nim",line:0};
framePtr = F;
F.line = 644;
- result_11215133 = new Array(len_11215131); for (var i=0;i<len_11215131;++i) {result_11215133[i]="";} framePtr = F.prev;
+ result_11215133 = new Array(len_11215131); for (var i=0;i<len_11215131;++i) {result_11215133[i]=null;} framePtr = F.prev;
return result_11215133;
@@ -3045,7 +3045,7 @@ function unhandledException(e_11175059) {
}
function raiseOverflow() {
- raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI10964037, name: "", trace: [], up: null}, "OverflowDefect");
+ raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI10964037, name: null, trace: [], up: null}, "OverflowDefect");
}
@@ -3086,7 +3086,7 @@ function raiseIndexError(i_11200047, a_11200048, b_11200049) {
Tmp1 = (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_11200047)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_11200048)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_11200049)+"") || []);
}
- raiseException({message: nimCopy(null, Tmp1, NTI10958014), parent: null, m_type: NTI10964049, name: "", trace: [], up: null}, "IndexDefect");
+ raiseException({message: nimCopy(null, Tmp1, NTI10958014), parent: null, m_type: NTI10964049, name: null, trace: [], up: null}, "IndexDefect");
}
@@ -3372,7 +3372,7 @@ function sysFatal_11075418(message_11075422) {
var F={procname:"sysFatal.sysFatal",prev:framePtr,filename:"/home/genotrance/programming/nimdevel/lib/system/fatal.nim",line:0};
framePtr = F;
F.line = 49;
- raiseException({message: nimCopy(null, message_11075422, NTI10958014), m_type: NTI10964041, parent: null, name: "", trace: [], up: null}, "AssertionDefect");
+ raiseException({message: nimCopy(null, message_11075422, NTI10958014), m_type: NTI10964041, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
framePtr = F.prev;
@@ -3853,7 +3853,7 @@ F.line = 316;
var timer_21045407 = [null];
framePtr = F.prev;
function raiseRangeError() {
- raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI10964053, name: "", trace: [], up: null}, "RangeDefect");
+ raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI10964053, name: null, trace: [], up: null}, "RangeDefect");
}