Upgrade syntax for JsLIGO decorators
Motivation and Context
Decorators in JsLIGO now follow the official format: @foo
or @foo("bar")
, instead of the ad hoc format we used until now: // @foo
and // @foo bar
. Only predefined decorators are allowed now.
Description
Component
-
compiler -
website -
webide -
vscode-plugin -
debugger
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to not work as expected) -
Performance improvement (non-breaking change that improves performance) -
None (change with no changelog)
Changelog
Decorators in JsLIGO now follow the official format @foo
and @foo("bar")
.
Checklist:
-
If a new syntax has been introduced, put a message on slack ligo-lsp -
Changes follow the existing coding style (use dune @fmt
to check). -
Tests for the changes have been added (for bug fixes / feature). -
Documentation has been updated. -
Changelog description has been added (if appropriate). -
Start titles under ## Changelog
section with #### (if appropriate). -
There is no image or uploaded file in changelog -
Examples in changed behaviour have been added to the changelog (for breaking change / feature).~~~~~~~~
Edited by Laurent Canis
Merge request reports
Activity
added areaFrontend typeDocumentation labels
assigned to @rinderkn
enabled automatic add to merge train when the pipeline for f9700f0c succeeds
mentioned in commit f9700f0c
added 12 commits
-
b1346088...db2d4351 - 10 commits from branch
dev
- f9700f0c - Merge branch 'rinderknecht@decorators' into 'dev'
- 4775445f - [Bot] add changelog entry
-
b1346088...db2d4351 - 10 commits from branch
A new deploy preview is available on Netlify at https://2873-2ea06728--ligolang.netlify.app, you can view the logs at https://app.netlify.com/sites/ligolang/deploys/650562a989e3b8726d3d2c58
Edited by Ligo Langmentioned in commit de8998e7
Please register or sign in to reply