permaweb / aos

An operating system for AO: The hyper parallel computer
https://ao.g8way.io
Other
74 stars 52 forks source link

bug: Utils.matchesSpec does not work with `From-Process` #337

Open twilson63 opened 1 month ago

twilson63 commented 1 month ago

Problem

Utils.matchesSpec is not working when trying to match messages with tags like From-Process

Example

Spawn(ao.env.Module.Id, { Authority = ao.authorities[1] })
local msg = Receive({["From-Process"] = ao.id})
print("Process: " .. msg.Process)