jshint/jshint — pull request #2059 by foysavas (2014-12-30 17:54:22+00:00)
Title: Support generators in class body

I was getting errors about generators in ES6 classes.

This commit fixes that issue. It also add two lines of positive tests to guard against regression.

For reference, generators in classes are in the latest ES6 draft spec and work well with 6to5.