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

Depth is not consistently increased #7

Open
bakkot opened this issue Jun 13, 2016 · 2 comments
Open

Depth is not consistently increased #7

bakkot opened this issue Jun 13, 2016 · 2 comments

Comments

@bakkot
Copy link
Member

bakkot commented Jun 13, 2016

E.g.

Function nodes only have depth increased when entering their bodies, which is not consistent with everything else.

@michaelficarra
Copy link
Member

Should enterFunction implicitly goDeeper?

@bakkot
Copy link
Member Author

bakkot commented Jun 13, 2016

That was the original plan, but was changed because enterFunction must be called after generating the name of a method (to e.g. avoid generating the program ({ [new.target](){} }). It's probably better for every complex node fuzzer (i.e. not just ap) to call goDeeper as its first statement.

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