Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 29, 2024 20:09
Show Gist options
  • Save Whateverable/52983ddfdfdbbbbd52da46147bceec75 to your computer and use it in GitHub Desktop.
Save Whateverable/52983ddfdfdbbbbd52da46147bceec75 to your computer and use it in GitHub Desktop.
bisectable6
class bar does Metamodel::Naming does Metamodel::RolePunning {}
Bisecting: 64 revisions left to test after this (roughly 6 steps)
[9d7a4c26448d998b53f9caa54a1c1e3a75d25222] Actually use nqp::const::TYPE_CHECK_xxx constants
»»»»» Testing 9d7a4c26448d998b53f9caa54a1c1e3a75d25222
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6945637fff4741c2be278d1a2fb89d5edccde0c1
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/Qzs0bdE1kh
Method 'TWEAK' must be resolved by class bar because it exists in multiple roles (Perl6::Metamodel::RolePunning, Perl6::Metamodel::Naming)
at /tmp/Qzs0bdE1kh:1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a55e7fd0330799b740f064416a1f3c446f4fa37c
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing efeb9d7742c30eeb4c3d8865b43f3b23972f6378
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f997c36cc053547a312d499cf96db028369e9e6d
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 20376f07a7e3fcc9bf20ab403d97ac74a077dda4
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 98ca8eb950c61acc9901cdcb11c9a5e05b3d485f
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/Qzs0bdE1kh
Method 'TWEAK' must be resolved by class bar because it exists in multiple roles (Perl6::Metamodel::RolePunning, Perl6::Metamodel::Naming)
at /tmp/Qzs0bdE1kh:1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
98ca8eb950c61acc9901cdcb11c9a5e05b3d485f is the first new commit
commit 98ca8eb950c61acc9901cdcb11c9a5e05b3d485f
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Wed Mar 20 13:44:06 2024 +0100
Move locking logic to Metamodel::Naming role
It was the only way to have "protect" functionality on all fooHOW
classes, including ones in the ecosystem, most notably Inline::Perl5.
src/Perl6/Metamodel/ClassHOW.nqp | 1 -
src/Perl6/Metamodel/ConcreteRoleHOW.nqp | 1 -
src/Perl6/Metamodel/CurriedRoleHOW.nqp | 1 -
src/Perl6/Metamodel/EnumHOW.nqp | 1 -
src/Perl6/Metamodel/Locking.nqp | 12 ------------
src/Perl6/Metamodel/Naming.nqp | 12 ++++++++++++
src/Perl6/Metamodel/NativeHOW.nqp | 1 -
src/Perl6/Metamodel/NativeRefHOW.nqp | 1 -
src/Perl6/Metamodel/ParametricRoleGroupHOW.nqp | 1 -
src/Perl6/Metamodel/ParametricRoleHOW.nqp | 1 -
src/Perl6/Metamodel/Stashing.nqp | 4 ++++
tools/templates/common_metamodel_sources | 1 -
12 files changed, 16 insertions(+), 21 deletions(-)
delete mode 100644 src/Perl6/Metamodel/Locking.nqp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment