New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
junctions reporting true & false, not collapsing #2917
Comments
From @masak<flussence> oh btw, I found this while you were away :) |
From @cokeOn Mon Oct 15 04:19:04 2012, masak wrote:
Alternatively, it also explodes on the JVM: $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | ./perl6
And without the \n : $ echo -e 'my \\a = any set <1 2 3>; say 1 ~~ a' | ./perl6
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSmoar seems happy now: $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | ./perl6-m JVM still broken here, I changed the REPL's ">" to "%" to not treat it as a replied msg: |
From @cokeOn Tue Apr 14 13:00:36 2015, FROGGS.de wrote:
Behavior has changed slightly on JVM - $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | ./perl6-m
$ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | ./perl6-j
The ~~ check on the JVM outputs both False & True (as opposed to the moar version, which only outputs False) -- |
From @peschwaOn Mon Aug 03 13:26:14 2015, coke wrote:
The actual problem here seems to be that the REPL on R-J somehow deems it necessary to output the return value of a outputting sub that takes a Junction somewhere in it's argument list: $ ./perl6-j
|
As described in Raku/old-issue-tracker#2917 the REPL failed badly (segfaulting) when smartmatching against a junction that contains a set: $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | perl6 Segmentation fault (core dumped) [The newline was essential to provoke the crash.] The problem has been fixed a long time ago (the exact commit is unknown), but we didn't have a regression test, yet.
Nowadays this works on the JVM backend, too:
Test added with rakudo/rakudo@45e8e8d987, I'm closing this issue. |
Migrated from rt.perl.org#115270 (status was 'open')
Searchable as RT115270$
The text was updated successfully, but these errors were encountered: