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

Unhelpful error messages #62

Closed
joydeep-b opened this issue Sep 25, 2018 · 2 comments
Closed

Unhelpful error messages #62

joydeep-b opened this issue Sep 25, 2018 · 2 comments

Comments

@joydeep-b
Copy link
Collaborator

[1, 2, 3,4].find(4) 
pred is not a function at Line 278: in (anonymous function)

This should be fixed with a dyn type check

@joydeep-b joydeep-b changed the title Unhelpful error message Unhelpful error messages Oct 21, 2018
@joydeep-b
Copy link
Collaborator Author

class Dog {
  constructor(leash) {
  }
};

let d = new Dog();

Produces:

function (anonymous) expected 1 argument but received 0 arguments at Line 2: in Dog
... : in handleNew
... 

The handleNew bit is an internal (Stopify) leaking through.

@sp1tz
Copy link
Contributor

sp1tz commented May 7, 2020

Partitioned into atomic issues #184 & #185.

@sp1tz sp1tz closed this as completed May 7, 2020
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

2 participants