Skip to content

Commit

Permalink
Introduce X::QuoteWords::Missing::Closer class
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 6, 2023
1 parent c38af03 commit b245dcb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core.c/Exception.rakumod
Expand Up @@ -1340,6 +1340,14 @@ my class X::Dynamic::Postdeclaration does X::Comp {
}
}

my class X::QuoteWords::Missing::Closer does X::Comp {
has $.opener;
has $.closer;
method message() {
"Unable to parse quote-words subscript; couldn't find '$.closer' (corresponding '$.opener' was at line $.line".naive-word-wrapper;

This comment has been minimized.

Copy link
@MasterDuke17

MasterDuke17 Sep 6, 2023

Contributor

Missing ')' in the message?

This comment has been minimized.

Copy link
@lizmat

lizmat Sep 7, 2023

Author Contributor

Thanks! Fixed with 1eb3db7701

}
}

my class X::Dynamic::Package does X::Comp {
has $.symbol;
method message() {
Expand Down

0 comments on commit b245dcb

Please sign in to comment.