Skip to content

fix output error when i try to use new Audio - #431

Closed
zemzheng wants to merge 1 commit into
esdoc:masterfrom
zemzheng:patch-1
Closed

fix output error when i try to use new Audio#431
zemzheng wants to merge 1 commit into
esdoc:masterfrom
zemzheng:patch-1

Conversation

@zemzheng

@zemzheng zemzheng commented Jun 8, 2017

Copy link
Copy Markdown

fix #430

```javascript
const myAudio = new Audio; // this line make node.declaration.id = null;
```
@h13i32maru

Copy link
Copy Markdown
Member

Thanks!
However ESDoc v1.0 uses ASTUtils#findClassDeclarationNode instead of that method.
I will fix it.

h13i32maru added a commit that referenced this pull request Sep 3, 2017
```
// crash with this code
export default class {}
export const foo = new Foo();
```

#431
@h13i32maru

Copy link
Copy Markdown
Member

I fixed this with f3d3f0f

@h13i32maru h13i32maru closed this Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'name' of null

2 participants