Skip to content

Commit 2c756d2

Browse files
authored
Update rfc-structural-generic-instantiation.md
1 parent 3e6b73e commit 2c756d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

considered/rfc-structural-generic-instantiation.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,11 @@ end F;
205205
* Generics annotated with the `Allow_Structural_Instantiation` aspect are
206206
forbidden to have:
207207

208-
- Mutable global state
209-
- In out object formals
208+
- Mutable global state - TODO refine
209+
- Non in object formals
210+
211+
* Additionally, instantiations of those generics can only pass static expressions
212+
for object formals.
210213

211214
* Generics annotated with the `Allow_Structural_Instantiation` are forbidden to
212215
have no generic formals.

0 commit comments

Comments
 (0)