Warn when declaring variables, parameters, and return values with a type with an incompatible mode #170
Closed
utaal
started this conversation in
Language design
Replies: 2 comments
-
|
Also encountered by @matthias-brun, who reported the following in #290: Currently one can use use builtin::*;
use builtin_macros::*;
verus! {
exec fn f(i: nat) -> nat {
i
}
fn main() {
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
There's a PR for this, which has been on the back burner for a bit: #323 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From #167
E.g.
where
mapisexec, butMap's constructor is restricted tospec.#167 (comment)
#167 (comment)
#167 (comment)
Beta Was this translation helpful? Give feedback.
All reactions