File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4605,7 +4605,15 @@ in the following ways:
4605
4605
subclass of the source type's corresponding tuple element.
4606
4606
4607
4607
The function types may also differ in attributes, except that the
4608
- ``convention `` attribute cannot be changed.
4608
+ ``convention `` attribute cannot be changed and the ``@noescape `` attribute must
4609
+ not change for functions with context.
4610
+
4611
+ A ``convert_function `` cannot be used to change a thick type's ``@noescape ``
4612
+ attribute (``@noescape `` function types with context are not ABI compatible with
4613
+ escaping function types with context) -- however, thin function types with and
4614
+ without ``@noescape `` are ABI compatible because they have no context. To
4615
+ convert from an escaping to a ``@noescape `` thick function type use
4616
+ ``convert_escape_to_noescape ``.
4609
4617
4610
4618
convert_escape_to_noescape
4611
4619
```````````````````````````
You can’t perform that action at this time.
0 commit comments