File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,10 @@ Notes:
109
109
to the actual type.
110
110
* The indices in ` sortidx ` are validated according to their ` sort ` 's index
111
111
spaces, which are built incrementally as each definition is validated.
112
- * Validation requires that all annotated ` name ` s only occur on ` func ` ` export ` s
113
- and that the ` r ` ` label ` matches the ` name ` of a preceding ` resource ` export.
112
+ * Validation requires that annotated ` name ` s only occur on ` func ` imports or
113
+ exports and that the ` r:<label> ` matches the ` name ` of a preceding ` resource `
114
+ import or export, respectively, in the same scope (component, component type
115
+ or instance type).
114
116
* Validation of ` [constructor] ` names requires that the ` func ` returns a
115
117
` (result (own $R)) ` , where ` $R ` is the resource labeled ` r ` .
116
118
* Validation of ` [method] ` names requires the first parameter of the function
You can’t perform that action at this time.
0 commit comments