run_tests_on_string inconsistent return type/value
ahamid opened this issue · 0 comments
ahamid commented
run_tests_on_string
is not returning a value (returning undefined) on code with no type annotations:
197 if(types.length > 0){
198 var suite = [];
199 for(var i = 0; i < types.length; i++) {
200 var base = this.addTest(types[i], null, redefine);
201 suite.push(base);
202 }
203 return TypedJS.go(suite, redefine);
204 }
205 }
See: goatslacker/node-typedjs#4 goatslacker/node-typedjs#5
trivial patch coming