-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrongfully saying that it has a shared
call
#4583
Comments
Minimal reproducible example: actor Partition {
public composite query func scanLimitOuterComposite() : async ()
{
await* N.outer();
};
module N {
public type Test = actor {
inner: query() -> async ();
};
public func outer(): async* () {
let part: Test = actor("aaaaa-aa");
await part.inner();
};
};
}
You see that it does only a |
Thanks for the report. Thanks, yes the message is in accurate, but I would still expect there to be an error here. Like all type systems, the type system is being conservative here. Although in your case it doesn't call a shared function, in general some other version of |
There cannot be some other version of |
Do you convince your error? |
I simplified the code to the following, it still produces the same error: actor Partition {
public composite query func scanLimitOuterComposite() : async ()
{
await* N.outer();
};
module N {
public func outer(): async* () {};
};
} |
I narrowed it down to actor Partition {
public query func scanLimitOuterComposite() : async ()
{
await* async* {};
};
} The error is
Your example has
This is really cryptic. |
In this commit run
make deploy-stress-test
.But the function
Nac.scanLimitOuter
does not callshared
functions (even indirectly), onlyquery
ones.So, I suppose, this error message is wrong.
The text was updated successfully, but these errors were encountered: