diff --git a/src/Raku/Actions.nqp b/src/Raku/Actions.nqp index 7812d1f88d9..6b8c85c6f3e 100644 --- a/src/Raku/Actions.nqp +++ b/src/Raku/Actions.nqp @@ -3260,7 +3260,7 @@ class Raku::Actions is HLL::Actions does Raku::CommonActions { } method doc-block:sym($/) { - $*CU.replace-finish-content(~$); + $*CU.replace-finish-content(~$) if $*CU; } method doc-block:sym($/) {