Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 21, 2024 20:06
Show Gist options
  • Save Whateverable/4b634ecc58446ee34ef83ea81a8d0c01 to your computer and use it in GitHub Desktop.
Save Whateverable/4b634ecc58446ee34ef83ea81a8d0c01 to your computer and use it in GitHub Desktop.
bisectable6
Q| grammar A { token x(&a) { <.&a> } } |.AST.EVAL
Bisecting: 613 revisions left to test after this (roughly 9 steps)
[1c60e5e01217eea2d6c91792c6497388f4d21720] Fix roles without signatures
»»»»» Testing 1c60e5e01217eea2d6c91792c6497388f4d21720
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e8c23f84b30e16d832375aa8f6124ce0d5dbac41
»»»»» Script output:
===SORRY!===
Did not find an attach target for method.
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing afb700e2d5ee4f29e79bd73a3c745a72d16a8019
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4a42b2116ec16b8d7cd944cd1b967aaa9eca578f
»»»»» Script output:
===SORRY!===
Did not find an attach target for method.
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 64442a2ebb7886cc433dc783074dc72a3df9d8c6
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ccf3b24be55ce5325b88f270cb052c81fd00010b
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 512ef78ad1df229b7b2e7a412ac04c1a99a25d89
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2d559ef42d978f581e88fd0d541970556c6a886e
»»»»» Script output:
===SORRY!===
Did not find an attach target for method.
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 10894226ad50d9549d619b4adc2ce4a4a04d2f94
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4535adc087e6d1ab7094836134b19c37ef96b3b3
»»»»» Script output:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
No such method 'AST' for invocant of type 'Str'
in block <unit> at /tmp/Kpf1JONiEB line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
2d559ef42d978f581e88fd0d541970556c6a886e is the first new commit
commit 2d559ef42d978f581e88fd0d541970556c6a886e
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Mon Jan 2 22:17:53 2023 +0100
Introduce Cool.AST method
Takes a Cool object, converts it to Str and then uses the new Raku
grammar and actions to create a RakuAST::CompUnit object.
Intended to be used by core developers to:
1. quickly checks if some Raku code now compiles with the new grammmar
2. using deparsing, can check what was actually compiled
For now marked as an "implementation-detail", but could foreseeably
be used more generally.
src/core.c/core_epilogue.pm6 | 32 +++++++++++++++++++++++++++++---
src/main.nqp | 4 ++++
2 files changed, 33 insertions(+), 3 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment