BrowserREPL-button-tip-on BrowserREPL-button-tip-off

EditButtonTip 2019-10-15

class X::Obsolete

Compilation error due to use of obsolete syntax

class X::Obsolete does X::Comp { }
Code

Syntax error thrown when the user is attempting to use constructs from other languages.

For example

m/abc/i
Code

dies with

===SORRY!===
Unsupported use of /i; in Raku please use :i
Code

Methods§

method old§

method old(--> Str:D)
Code

Returns a textual description of the obsolete syntax construct

method replacement§

method replacement(--> Str:D)
Code

Describes what to use instead of the obsolete syntax.

method when§

method when(--> Str:D)
Code

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