class X::Obsolete 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 /iin Raku please use :i

Methods§

method old§

method old(--> Str:D)

Returns a textual description of the obsolete syntax construct

method replacement§

method replacement(--> Str:D)

Describes what to use instead of the obsolete syntax.

method when§

method when(--> Str:D)

Returns a string describing the state of the language (usually " in Raku").

Typegraph§

Type relations for X::Obsolete
raku-type-graph X::Obsolete X::Obsolete Exception Exception X::Obsolete->Exception X::Comp X::Comp X::Obsolete->X::Comp Mu Mu Any Any Any->Mu Exception->Any X::Comp->Exception

Expand chart above