Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

[].concat is not a function #30

@tomduncalf

Description

@tomduncalf

Getting this if I trigger loads of notes in my application. Not sure if it's app specific. I suspect the stack trace does not tell the full story.

index.js:1543 Uncaught TypeError: [].concat is not a function
    at eval (webpack:///./~/mpe/lib/index.js?:1543:23)
    at Array.forEach (native)
    at activeNotes (webpack:///./~/mpe/lib/index.js?:1542:22)
    at combination (webpack:///./~/mpe/lib/index.js?:880:30)
    at dispatch (webpack:///./~/mpe/lib/index.js?:478:23)
    at Array.forEach (native)
    at Object.processMidiMessage (webpack:///./~/mpe/lib/index.js?:168:14)
    at MIDIInput.input.onmidimessage (webpack:///./src/midi/handleInput.ts?:55:40)

The code in question:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions