truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
111 stars 13 forks source link

Wrong number in stack traces after conditional blocks #76

Closed truj closed 1 year ago

truj commented 2 years ago

If an error occurs in a nested block, after an inner IF block, sometimes the line number in the stack trace is wrong. I assume, the lines in the if block are only counted if the condition is met and the block plays. Otherwise, the line in the stack trace is too low.

Verify this behaviour and correct it.

truj commented 1 year ago

I cannot reproduce this any more. Not sure if this bug still exists. Closing for now. Can be reopened if necessary.