Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (15 sloc) 716 Bytes
=begin pod :kind("Type") :subkind("class") :category("exception") =TITLE class X::Syntax::Augment::WithoutMonkeyTyping =SUBTITLE Compilation error due to augmenting a type without the C pragma class X::Syntax::Augment::WithoutMonkeyTyping does X::Syntax { } Compile time error thrown when C is used without C. Since C is considered a rather unsafe and impolite action, you have to pre-declare your intent with the C pragma. If you don't do that, like here =for code :skip-test augment class Int { }; you get the error =for code :lang ===SORRY!=== augment not allowed without 'use MONKEY-TYPING' =end pod
You can’t perform that action at this time.