Skip to content
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

Broadcast group with non-broadcast items generates ill-typed AIR #1355

Open
matthias-brun opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@matthias-brun
Copy link
Collaborator

broadcast use checks that the argument is a broadcast function but broadcast group seems to be missing that check.

use vstd::prelude::*; verus!{

proof fn lemma_foo()
    ensures true
{}

broadcast group group_foo {
    lemma_foo,
}

proof fn lemma_bar() {
    broadcast use group_foo;
}

}
use vstd::prelude::*; verus!{

proof fn lemma_foo()
    ensures true
{}

broadcast group group_foo {
    lemma_foo,
}

proof fn lemma_bar() {
    broadcast use group_foo;
}

}

cc @utaal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant