Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdslink: crash while loading undefined instrument #2

Open
superctr opened this issue Jun 21, 2020 · 0 comments
Open

mdslink: crash while loading undefined instrument #2

superctr opened this issue Jun 21, 2020 · 0 comments

Comments

@superctr
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant