forked from increpare/PuzzleScript
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingconsole messagesContent and presentation of compilation errors/warnings and other console messagesContent and presentation of compilation errors/warnings and other console messagesexpansionany expansion mechanismany expansion mechanismmappingsAnything that concerns mappingsAnything that concerns mappingssyntax/languageConcerns the language or its syntaxConcerns the language or its syntax
Description
With a mapping defined like that:
TAGS
Tg = A B
MAPPINGS
Tg => Mp
A B -> B A
OBJECTS
Obj:Tg
blue
It's possible to write a rule like that:
[ > Obj:Tg ] -> [ > Obj:Mp ]
And it will be interpreted as:
[ > Obj:Tg ] -> [ > Obj:Tg ]
While this is an interesting feature I think this kind of rule more likely reflects a problem with the mapping – either a mapping parameter that is missing in the rule or the use of a wrong mapping with a start set that is not one of the rule parameters – and should thus trigger an error.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconsole messagesContent and presentation of compilation errors/warnings and other console messagesContent and presentation of compilation errors/warnings and other console messagesexpansionany expansion mechanismany expansion mechanismmappingsAnything that concerns mappingsAnything that concerns mappingssyntax/languageConcerns the language or its syntaxConcerns the language or its syntax