Skip to content

ES7 objectRestSpread bug #365

@ratson

Description

@ratson
class Bug {
  constructor() {
    const o = {}
    this.a = {
      ...o,
    }
  }
}
  • write output that you obtained (log or screenshot)
    TypeError: Cannot read property 'name' of undefined
  • if possible, write your expectation for the input
    Should generate docs without error
  • your environment
    • OS type and version
      macOS 10.10
    • Node.js version
      v7.3.0
    • ESDoc version
      v0.5.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions