Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_tests_on_string inconsistent return type/value #20

Open
ahamid opened this issue Sep 21, 2012 · 0 comments
Open

run_tests_on_string inconsistent return type/value #20

ahamid opened this issue Sep 21, 2012 · 0 comments

Comments

@ahamid
Copy link
Contributor

ahamid commented Sep 21, 2012

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

Ejhfast added a commit that referenced this issue Feb 8, 2013
fix for #20 - return empy results for code with no annotations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant