Skip to content

Commit

Permalink
Document earlier change that impacted Statix API.
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikvanantwerpen committed Sep 24, 2020
1 parent 55c1203 commit 318e2da
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions source/release/migrate/2.5.10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
```eval_rst
.. _2.5.10-migration-guide:
```

# Spoofax 2.5.10 Migration Guide

A change in Statix need migration for users of the Startego API.

## Statix

The AST property type is now a built-in property. Users of the Stratego API to
get this property should change their API calls. Instead of

stx-get-ast-property(|a, "type")

one should now use:

stx-get-ast-type(|a)

1 change: 1 addition & 0 deletions source/release/migrate/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This section contains the migration guides for releases and nightly builds of Sp
.. toctree::
:maxdepth: 1

2.5.10 <2.5.10>
2.5.5 <2.5.5>
2.2.0 <2.2.0>
2.1.0 <2.1.0>
Expand Down
1 change: 1 addition & 0 deletions source/release/note/2.5.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Statix

- New project that use Statix automatically have the Statix signature generator enabled. For this to work properly, declare your lexical and context-free sorts in SDF3 explicitly. See the :ref:`Statix signature generator <statix-signature-generator>` documentation for more information.
- Statix specifications are now compiled as much as possible, even if there are errors in some files. Errors in Statix files that are not actually imported, do not cause analysis to fail on an empty specification anymore.
- The AST property `type` is now a built-in, which is automatically used in the default editor hover strategy.

Stratego
~~~~~~~~
Expand Down

0 comments on commit 318e2da

Please sign in to comment.