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
Currently, Pluto does not support accessing resource variables that have been renamed.
import{Router,HttpRequest,HttpResponse,Queue}from"@plutolang/pluto";constrouter=newRouter("router");constqueue=newQueue("queue");constaliasQueue=queue;// Will not appear in the generated computing module coderouter.get("/store",async(req: HttpRequest): Promise<HttpResponse>=>{awaitqueue.push("foo");// ValidawaitaliasQueue.push("bar");// Invalidreturn{statusCode: 200,body: `Fetch access message.`,};});
The text was updated successfully, but these errors were encountered:
Currently, Pluto does not support accessing resource variables that have been renamed.
The text was updated successfully, but these errors were encountered: