Skip to content

Commit

Permalink
Merge pull request #36 from mpsijm/patch-1
Browse files Browse the repository at this point in the history
Fix typo in vnext: is -> if
  • Loading branch information
Apanatshka committed Sep 23, 2020
2 parents c042525 + 1b48b72 commit 55c1203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/release/note/vnext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Changes
Stratego
~~~~~~~~

Stratego has two new reserved words: ``cast`` and ``is``. Local variables can be reserved words is they start with ``'``, so you can use ``'cast`` and ``'is``.
Stratego has two new reserved words: ``cast`` and ``is``. Local variables can be reserved words if they start with ``'``, so you can use ``'cast`` and ``'is``.

Under the Stratego language options in your ``metaborg.yaml`` file you can turn on the gradual type system, if you use the incremental compiler. This option is ``gradual: static``, and only tests the types statically. The default is ``gradual: none`` right now, meaning the gradual type system is not on by default. There is an experimental third option ``gradual: dynamic`` which not only checks the types statically but also inserts casts to check types dynamically where necessary.

0 comments on commit 55c1203

Please sign in to comment.