Skip to content

run_tests_on_string inconsistent return type/value #20

@ahamid

Description

@ahamid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions