Skip to content

Using jsdec with Cutter always fails to parse JSON output of it: #30

@XVilka

Description

@XVilka

Describe the bug
Before opening a bug report run rzpm install jsdec and verify it crashes also on the latest version.
A clear and concise description of what the bug is (if known).

Component

  • core
  • arm
  • avr
  • m68k
  • mips
  • ppc
  • sparc
  • v850
  • wasm
  • x86-64

Reproduce via JSON (pddi)

<pddi or pdd --issue JSON>

jsdec_30_pddi.txt.zip

Failed to parse JSON
TypeError: cannot read property 'type' of undefined
at [anon] (duk_hobject_props.c:2549) internal
at [anon] (libdec/annotation.js:140)
at [anon] (libdec/printer.js:141) preventsyield
at forEach () native strict preventsyield
at [anon] (libdec/printer.js:144)
at jsdec_main (jsdec-duk.js:112)
at eval (eval:1) preventsyield

Failed to parse JSON
TypeError: cannot read property 'type' of undefined
at [anon] (duk_hobject_props.c:2549) internal
at [anon] (libdec/annotation.js:140)
at [anon] (libdec/printer.js:141) preventsyield
at forEach () native strict preventsyield
at [anon] (libdec/printer.js:144)
at jsdec_main (jsdec-duk.js:112)
at eval (eval:1) preventsyield

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions