KStateMachine is a powerful Kotlin Multiplatform library with clean DSL syntax for creating complex state machines and statecharts driven by Kotlin Coroutines.
I tried to create a state machine without enabling undo, and then attempted to undo. I got the following (very helpful!) error message:
"... createStateMachine(isUndoEnabled = true) argument to enable it ..."
However the actual parameter is enableUndo not isUndoEnabled. This message should be updated to reflect the variable name.
I tried to create a state machine without enabling undo, and then attempted to undo. I got the following (very helpful!) error message: "... createStateMachine(isUndoEnabled = true) argument to enable it ..."
However the actual parameter is
enableUndo
notisUndoEnabled
. This message should be updated to reflect the variable name.