-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
This is a class that was supposed to help the developers to debug pattern matching with MoTion.
The concept is discussed but never implemented; Ideas:
- for composed patterns like
ClassName % { #property <=> value. #property2 <=> value2. }, the debugging could be by commenting parts of the properties and try to execute the match. if it passes then the error could be in the commented part and thus the debugger can highlight this part to inform the user. - also since wildcards exist, could be by replacing the value with wildcard and try to execute the match. if it passes then the error could be in the value set and thus the debugger can highlight this part to inform the user.
- ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels