-
-
Notifications
You must be signed in to change notification settings - Fork 9
pragma depreceated
IsaacShelton edited this page Mar 21, 2022
·
1 revision
pragma deprecated
is a pragma directive that's used to mark files as deprecated
pragma deprecated
pragma deprecated "Use 'newer/better/file.adept' instead"
When encountered, a warning will be raised. A reason can optionally be specified.
main.adept:2:8: warning: This file is deprecated and may be removed in the future
└ Use 'newer/better/file.adept' instead
2| pragma deprecated "Use 'newer/better/file.adept' instead"
^^^^^^^^^^