* test: add test fixtures * refactor: track AWAIT and YIELD in separate handler * fix flow errors * add flow type annotation to production-parameter * address review comments * refactor: track [Return] parameter
7 lines
101 B
JavaScript
7 lines
101 B
JavaScript
function* foo() {
|
|
class C {
|
|
// here yield is an identifier reference
|
|
p = yield + 42;
|
|
}
|
|
}
|