From bcfd5c1073c273bbbc423f24d3bee7fc8349b973 Mon Sep 17 00:00:00 2001 From: Mikhail Katychev Date: Thu, 27 Mar 2025 11:13:16 +0100 Subject: [PATCH] remove extra async from resource-method --- design/mvp/WIT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/design/mvp/WIT.md b/design/mvp/WIT.md index 86c105bb..7baf2a20 100644 --- a/design/mvp/WIT.md +++ b/design/mvp/WIT.md @@ -80,7 +80,7 @@ package local:b { } ``` -It is worth noting that defining nested packages does not remove the need for the "root" package declaration above. These nested package definitions simply provide the contents of other packages inline so that they don't have to be otherwise resolved via the filesystem or a registry. +It is worth noting that defining nested packages does not remove the need for the "root" package declaration above. These nested package definitions simply provide the contents of other packages inline so that they don't have to be otherwise resolved via the filesystem or a registry. Package names are used to generate the [names of imports and exports] in the Component Model's representation of [`interface`s][interfaces] and @@ -1540,7 +1540,7 @@ Specifically, the syntax for a `resource` definition is: resource-item ::= 'resource' id ';' | 'resource' id '{' resource-method* '}' resource-method ::= func-item - | id ':' 'static' 'async'? func-type ';' + | id ':' 'static' func-type ';' | 'constructor' param-list ';' ```