shapesecurity / shift-scope-js

scope analyser for the Shift AST
http://shift-ast.org/scope.html
Apache License 2.0
11 stars 6 forks source link

"not reached" error thrown when analysing class expressions #25

Closed michaelficarra closed 8 years ago

michaelficarra commented 8 years ago

Can be reproduced with (class{});.

michaelficarra commented 8 years ago

It's hitting this line.

michaelficarra commented 8 years ago

@bakkot You probably want to make the same change here. Also, tests would be nice before closing an issue.

bakkot commented 8 years ago

Yeah, I'm working on it. It's possible I just have class expression names completely wrong, though, reviewing the semantics.

bakkot commented 8 years ago

Yeah, turns out I do. Closing this issue and opening a new one for that, which will remain open until it's tested.