Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 6, 2020 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/caa13fd91be47ede1ca8e4d2276ad1c9 to your computer and use it in GitHub Desktop.
Save Whateverable/caa13fd91be47ede1ca8e4d2276ad1c9 to your computer and use it in GitHub Desktop.
bisectable6
role A[*@types] does Positional {method new(*@a) { self.CREATE }; method STORE(*@a) { } }; my @b is A[Int,Int] = 42,666; dd @b
Bisecting: 153 revisions left to test after this (roughly 7 steps)
[c68d4fc49269afdf5b5e67043abebf24b7eaba1c] Bump NQP for rename of java packages to org.raku.*
»»»»» Testing c68d4fc49269afdf5b5e67043abebf24b7eaba1c
»»»»» Script output:
A[Int,Int].new
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 a0e58412a04253ce0321a30587eda6eb75db2b30
»»»»» Script output:
A[Int,Int].new
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 f506cc039d7f9fd733e9256907dce7e04ad3c385
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/kVNf02mSHx
Can't use unknown trait 'is' -> 'unknown subtype' in a variable declaration.
at /tmp/kVNf02mSHx:1
------> od STORE(*@a) { } }; my @b is A[Int,Int]⏏ = 42,666; dd @b
expecting any of:
TypeObject
default
dynamic
export
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 25f8395cf59e2067880b5963026d78f31518741b
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/kVNf02mSHx
Can't use unknown trait 'is' -> 'unknown subtype' in a variable declaration.
at /tmp/kVNf02mSHx:1
------> od STORE(*@a) { } }; my @b is A[Int,Int]⏏ = 42,666; dd @b
expecting any of:
TypeObject
default
dynamic
export
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 e46d4590219352db5843d01ac551786fcde38c4a
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/kVNf02mSHx
Can't use unknown trait 'is' -> 'unknown subtype' in a variable declaration.
at /tmp/kVNf02mSHx:1
------> od STORE(*@a) { } }; my @b is A[Int,Int]⏏ = 42,666; dd @b
expecting any of:
TypeObject
default
dynamic
export
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 85fa569ce3e1e3632d4e46fac7f800e6fd2c6069
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/kVNf02mSHx
Can't use unknown trait 'is' -> 'unknown subtype' in a variable declaration.
at /tmp/kVNf02mSHx:1
------> od STORE(*@a) { } }; my @b is A[Int,Int]⏏ = 42,666; dd @b
expecting any of:
TypeObject
default
dynamic
export
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 5561669b3f5689dd110decd35bae0c6020369371
»»»»» Script output:
A[Int,Int].new
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 de43f193af81c69eb4063970aad1ae5ff3690813
»»»»» Script output:
A[Int,Int].new
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
de43f193af81c69eb4063970aad1ae5ff3690813 is the first new commit
commit de43f193af81c69eb4063970aad1ae5ff3690813
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Tue May 12 12:54:15 2020 +0200
Make "my $a is Type[Foo,Bar] work for all types
Finally grokked how type traits are handled. Should allow the Rake
module to work with:
my @a is Rake[Int,Str] = 42,"foo";
Previously it only allowed QuantHashes to be parameterized like that.
:040000 040000 8a3b671ffd7bfe3ac744ce2c6af617246ba8e49f baa09716fcf9a55002da31ae04e7b5f1ad53f7a3 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment