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

Continued sketching out code for checking states against preconditions. #313

Merged
merged 1 commit into from
Apr 7, 2011

Conversation

catamorphism
Copy link
Contributor

It's still sketchy. I added a typestate annotation field to statements
tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate
that's different from that of its child node. This necessitated trivial
changes to a bunch of other files all over to the compiler. I also added a
few small standard library functions, some of which I didn't actually end
up using but which I thought might be useful anyway.

It's still sketchy. I added a typestate annotation field to statements
tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate
that's different from that of its child node. This necessitated trivial
changes to a bunch of other files all over to the compiler. I also added a
few small standard library functions, some of which I didn't actually end
up using but which I thought might be useful anyway.
@graydon graydon merged commit 2e90bd9 into rust-lang:master Apr 7, 2011
@graydon
Copy link
Contributor

graydon commented Apr 7, 2011

Integrated.

oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request May 10, 2023
Add missing pointer tests and rename pointer cast fns to match scalars
antoyo added a commit to antoyo/rust that referenced this pull request Oct 9, 2023
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

Successfully merging this pull request may close these issues.

2 participants