-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The current text format only allows specifying a shared function with an explicit type index:
(type $shared (shared (func)))
(func (type $shared))I had thought (and so have others) that it might be nice to have a short-hand form for writing shared functions when printing WAT. There are some advantages to this: easier to read WAT, easier to write WAT manually, consistency with unshared functions, etc. But, for now, we have left this out because it's unclear how to best express this:
(shared (func ...))?(func (shared (param) (result)) ...)?
I'm opening this issue to track this for discussion and for future users who are interested in why things are the way they are.
Metadata
Metadata
Assignees
Labels
No labels