Skip to content

mdslink: crash while loading undefined instrument #2

@superctr

Description

@superctr

Crashes with a C++ runtime error if an undefined instrument is referenced in MML input:

terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at

This does not happen in mmlc, which will instead silently continue. I think the behavior should be the same in both programs: either mdslink should silently continue or we should throw InputError in both programs when this happens (I prefer this).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions