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

Crash for `export let` #126

andy-hanson opened this issue Oct 18, 2015 · 2 comments

Crash for `export let` #126

andy-hanson opened this issue Oct 18, 2015 · 2 comments


Copy link

@andy-hanson andy-hanson commented Oct 18, 2015

I'm documenting this code:

export let x

I get this error:

    throw _iteratorError5;
TypeError: Cannot read property 'type' of null
    at DocFactory._inspectExportNamedDeclaration (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Factory/DocFactory.js:285:37)
    at new DocFactory (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/Factory/DocFactory.js:92:10)
    at Function._traverse (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDoc.js:435:21)
    at /home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDoc.js:183:26
    at Function._walk (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDoc.js:390:13)
    at Function.generate (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDoc.js:125:12)
    at ESDocCLI.exec (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDocCLI.js:88:28)
    at Object.<anonymous> (/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDocCLI.js:146:7)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)

esdoc --version is 0.4.1.

Copy link

@h13i32maru h13i32maru commented Oct 25, 2015

This is ESDoc's bug. Thanks.

Copy link

@h13i32maru h13i32maru commented Nov 1, 2015

I fixed this issue at v0.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.