does X::Comp
Syntax error thrown when the user is attempting to use constructs from other languages.
For example
m/abc/i
dies with
===SORRY!=== Unsupported use of /i; in Raku please use :i
Methods§
method old§
method old(--> Str)
Returns a textual description of the obsolete syntax construct
method replacement§
method replacement(--> Str)
Describes what to use instead of the obsolete syntax.
method when§
method when(--> Str)
Returns a string describing the state of the language (usually " in Raku"
).