fix: Reset core message log #144

Merged
aniva merged 3 commits from bug/core-state-error-linger into dev 2024-12-11 09:09:34 -08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit f2f71a6028 - Show all commits

View File

@ -250,6 +250,7 @@ protected def GoalState.tryTacticM (state: GoalState) (goal: MVarId) (tacticM: E
return .some $ ← m.toString
else
return .none
Core.resetMessageLog
if ¬ newMessages.isEmpty then
return .failure newMessages.toArray
return .success nextState