-
Notifications
You must be signed in to change notification settings - Fork 40
WIP: const effect #194
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
Open
tiif
wants to merge
65
commits into
rust-lang:main
Choose a base branch
from
tiif:experiment
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
WIP: const effect #194
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
1bcdbdf
Currently passed normal trait
tiif 699d272
Support const trait declaration
tiif 3a2f82f
Support impl const trait in parser
tiif 37c56c2
Failed attempt: requires a lot of other impl
tiif c83d3fb
Get constness in TraitRef somewhat work
tiif f7b3f47
Use ~const for maybe-const
tiif 9521e7a
Add constness somewhere
tiif d73d4f3
Fix the test
tiif 783a44d
Add const impl test
tiif 79697f3
Add const trait impl check
tiif a59024b
Add ConstEffect
tiif 1e2d04f
Add effect_items to TraitBoundData
tiif 85edbe4
Add a bunch of todos for now
tiif fa35d87
Clean up a little bit
tiif 02a0d15
Clean up
tiif 4bf7bf5
Cleanup
tiif 33f156f
Remove ConstEffect from impl item
tiif 2e15fb3
Substitute all constness with effect, then remove the syntax check
tiif 2cb02fd
Substitute ConstEffect with Effect
tiif 44b770e
Remove const trait impl check
tiif ca7a72c
Fix test output
tiif 4ae18d2
Add more stuff to Effect enum
tiif f8081a2
Shift comment
tiif 16a0617
Move it as part of function
tiif 683c3aa
Remove prove_effect
tiif 0699cfc
Add EffectSubset predicate
tiif 98f6ffc
Tweak the subset rule
tiif b64aa4c
Everything from 28Feb office hour
tiif 3411c7c
Make everything compile
tiif 04680a6
comments + newtype for DebonedPredicate
9793fba
add effects into DebonedPredicate (FIXME)
76e25e1
implement subset
a02b259
Fix some low-hanging fruits
tiif b4ce2d0
Fix more errors
tiif 4354ad4
Add some assumptions to make some_atomic_effect works
tiif f36ca3e
Use prove_effect_subset in prove_wc
tiif 862567b
Make everything compiles
tiif a5b833e
Run fmt
tiif cead2c3
Run more fmt
tiif c7f359a
Move EffectSubset from Predicate to Relation
tiif 6192d81
Change the premises in some_atomic_effect
tiif 2135078
add comments to prove_eq
fc6fe5f
use prove_after (horray!)
d5378b7
WIP add supereffects
c5cb3c9
Make it compile
tiif 38b6143
Fix rebase error
tiif 4593842
Add test for effect subset
tiif 8627b04
Run update expect
tiif 84d8fb9
Add test for const trait
tiif fb7050e
fmt
tiif 19b3367
move to externalized test
f26d080
fix test
3d35cce
Use better syntax for the effect subset tests
tiif 2ef0c7d
Clean up
tiif aaca632
Add effect to where-clause data
tiif 7790d3b
Add test with effect that did nothing yet
tiif d503eb3
Clean up
tiif 7aac3e1
Add FnBodyWithEffect
tiif e6b125d
changes
70a6bdb
unfortunate version that works
tiif c152fe9
Added more test and make the grammar slighly better
tiif c1644ae
use the same keyword
tiif 4db5c86
Add rules for associated effect
tiif 8fb16ad
Add tests for associated effect
tiif 49d11e3
Fix the tests
tiif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore this, I'm making a test :)