Skip to content

Commit

Permalink
Remove JVM backend dependent code
Browse files Browse the repository at this point in the history
The associated ticket:

    Raku/old-issue-tracker#5617

is marked as resolved, so there is no need for the exception anymore.
  • Loading branch information
lizmat committed Jan 10, 2020
1 parent 272b658 commit 70f96d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core.c/REPL.pm6
Expand Up @@ -108,10 +108,7 @@ do {
}

my role Completions {
# RT #129092: jvm can't do CORE::.keys
has @!completions = $*VM.name eq 'jvm'
?? ()
!! CORE::.keys.flatmap({
has @!completions = CORE::.keys.flatmap({
/^ "&"? $<word>=[\w* <.lower> \w*] $/ ?? ~$<word> !! []
}).sort;

Expand Down

0 comments on commit 70f96d9

Please sign in to comment.