You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently added the ftl:export directive for FSMs:
//ftl:exportfsm:=...
It would be easy for devs to get confused about how to make a verb exported and they may easily make the mistake of using ftl:export on a verb.
When doing so we get this error: unexpected directive *compile.directiveExport
We should come up with a better error message explaining what they need to do to resolve the issue.
Also, do this for other declarations that can be exported but not via //ftl:export, eg: data
The text was updated successfully, but these errors were encountered:
To export a verb you write this code in go:
We recently added the
ftl:export
directive for FSMs:It would be easy for devs to get confused about how to make a verb exported and they may easily make the mistake of using
ftl:export
on a verb.When doing so we get this error:
unexpected directive *compile.directiveExport
We should come up with a better error message explaining what they need to do to resolve the issue.
Also, do this for other declarations that can be exported but not via
//ftl:export
, eg: dataThe text was updated successfully, but these errors were encountered: