Skip to content

mdslink: crash while loading undefined instrument #2

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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