Skip to content

Latest commit

 

History

History

kumascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Kumascript in Yari

Signaling macro deprecation

If a macro should no longer be used and is marked for removal, add the following to the top of the relevant macro:

// Throw a MacroDeprecatedError flaw
mdn.deprecated();

It is also useful to add a code comment to the macro detailing what the blockers are for removal. See the following pull request for reference: Deprecate the {{index}} macro