Skip to content

Conversation

viralpraxis
Copy link
Contributor

Extracted from #387

bundle exec bin/unparser -e 'not a...b'
(string)
Original-Source:
not a...b
Generated-Source:
!a...b
Original-Node:
(send
  (eflipflop
    (send nil :a)
    (send nil :b)) :!)
Generated-Node:
(erange
  (send
    (send nil :a) :!)
  (send nil :b))
Node-Diff:
@@ -1,4 +1,4 @@
-(send
-  (eflipflop
-    (send nil :a)
-    (send nil :b)) :!)
+(erange
+  (send
+    (send nil :a) :!)
+  (send nil :b))

@viralpraxis viralpraxis force-pushed the fix-negated-flipflop-unparsing branch from d37845c to 92b5d34 Compare May 6, 2025 20:53
Extracted from mbj#387

```bash
bundle exec bin/unparser -e 'not a...b'
(string)
Original-Source:
not a...b
Generated-Source:
!a...b
Original-Node:
(send
  (eflipflop
    (send nil :a)
    (send nil :b)) :!)
Generated-Node:
(erange
  (send
    (send nil :a) :!)
  (send nil :b))
Node-Diff:
@@ -1,4 +1,4 @@
-(send
-  (eflipflop
-    (send nil :a)
-    (send nil :b)) :!)
+(erange
+  (send
+    (send nil :a) :!)
+  (send nil :b))
```
@viralpraxis viralpraxis force-pushed the fix-negated-flipflop-unparsing branch from 92b5d34 to 83b8a57 Compare May 6, 2025 21:01
@mbj mbj merged commit a655a65 into mbj:main May 6, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants