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

Async Loops verify process maybe incorrect. #119

Open
kisnows opened this issue Sep 7, 2015 · 1 comment · May be fixed by #146
Open

Async Loops verify process maybe incorrect. #119

kisnows opened this issue Sep 7, 2015 · 1 comment · May be fixed by #146

Comments

@kisnows
Copy link

kisnows commented Sep 7, 2015

//I do nothing with the giving code, but it can pass the verify
function loadUsers(userIds, load, done) {
  var users = []
  for (var i = 0; i < userIds.length; i++) {
    users.push(load(userIds[i]))
  }
  return users
}

module.exports = loadUsers

qq 20150907155802

The verify process may not correct.

@mdorda
Copy link

mdorda commented Jan 3, 2017

Also empty function will pass the verification.

module.exports = function() {}

I suppose the same bug causes that also makes impossible to run the function using
functional-javascript run program.js.

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

Successfully merging a pull request may close this issue.

2 participants