Skip to content

Commit

Permalink
DEPARSE should call .raku, not Str
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 17, 2020
1 parent 0109545 commit 9668639
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Raku/ast/literals.rakumod
Expand Up @@ -7,7 +7,7 @@ class RakuAST::IntLiteral is RakuAST::Term is RakuAST::CompileTimeValue {
$obj
}

method DEPARSE() { $!value.Str }
method DEPARSE() { $!value.raku }

method type {
$!value.WHAT
Expand Down Expand Up @@ -38,7 +38,7 @@ class RakuAST::NumLiteral is RakuAST::Term is RakuAST::CompileTimeValue {
$obj
}

method DEPARSE() { $!value.Str }
method DEPARSE() { $!value.raku }

method type {
$!value.WHAT
Expand Down Expand Up @@ -67,7 +67,7 @@ class RakuAST::RatLiteral is RakuAST::Term is RakuAST::CompileTimeValue {
$obj
}

method DEPARSE() { $!value.Str }
method DEPARSE() { $!value.raku }

method type {
$!value.WHAT
Expand Down Expand Up @@ -95,7 +95,7 @@ class RakuAST::VersionLiteral is RakuAST::Term is RakuAST::CompileTimeValue {
$obj
}

method DEPARSE() { $!value.Str }
method DEPARSE() { $!value.raku }

method type {
$!value.WHAT
Expand Down

0 comments on commit 9668639

Please sign in to comment.