Crash for `export let` #126

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

Comments

Projects
None yet
2 participants
@andy-hanson

I'm documenting this code:

export let x

I get this error:

/home/andy/.nvm/versions/node/v4.2.1/lib/node_modules/esdoc/out/src/ESDoc.js:405
    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.

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Oct 25, 2015

Member

This is ESDoc's bug. Thanks.

Member

h13i32maru commented Oct 25, 2015

This is ESDoc's bug. Thanks.

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Nov 1, 2015

Member

I fixed this issue at v0.4.2.

Member

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