Please sign in to comment.
Changed handling of revision modifiers
A modifier is a text suffix following version revision in the version string. I.e. PREVIEW is a modifier in v6.e.PREVIEW string. Modifiers can be flagged as required or deprecated or not flagged at all. For example: d TEST -TESTDEPR e !PREVIEW TESTDEPR is deprecated. While use of 'v6.e' will cause the language to panic because only 'v6.e.PREVIEW' form is allowed. TEST is a plain optional modifier. Proposed use of requirement/deprecation during a default language revision switch: 1. PREVIEW is required until revision is released. 2. PREVIEW is plain optional for 2-3 months after revision release to allow graceful transition of modules. 3. PREVIEW is deprecated for another 3-4 months.
- Loading branch information...
Showing with 153 additions and 36 deletions.
|@@ -1,5 +1,9 @@|
|# [*]version [suffix]|
|# [*]version [modifier]|
|# * defines the current spec|
|# modifiers can be prefixed with the following flags:|
|# ! required. Means that revision cannot be used without this modifier.|
|# - deprecated. Use of this modifier will result in a language warning.|
|*d PREVIEW # TODO: It's about time to drop PREVIEW|
|# TEST and TESTDEPR modifiers are to be kept for roast.|
|*d -PREVIEW TEST -TESTDEPR # TODO: It's about time to drop PREVIEW|