-
Notifications
You must be signed in to change notification settings - Fork 6k
FIR: Self types draft #4796
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
Draft
maxim092001
wants to merge
24
commits into
JetBrains:master
Choose a base branch
from
maxim092001:self-types-thesis
base: master
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.
Draft
FIR: Self types draft #4796
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c71098e
Self types: implementation of Self types using `@Self` as annotation.
maxim092001 3c4ce65
Self types: Add Self type for class annotated with @Self into all
maxim092001 8f4d527
Self types: rewritten implementation of ControlFlowInfo from Kotlin
maxim092001 210d584
rebase and fix conflicts
maxim092001 1391397
Self types: Add enum class checker.
maxim092001 9cdec30
Self types: Fix double <Self> in super type parameters
maxim092001 ec1ca0f
Self types: diagnostics for annotation classes
maxim092001 d2848c5
Self types: multiple tests added.
maxim092001 7942529
Self types: add test for object, refactor diagnostic tests
maxim092001 0cd7520
Self types: refactor box tests structure.
maxim092001 6ad8c6c
Self types: fix annotation find inside FirTypeResolverImpl
maxim092001 07fd7cc
Self types: refactor cfg tests
maxim092001 7780e18
Self types: add self type parameter only for FirRegularClass
maxim092001 8649129
Self types: test with self class as return type with implicit self ty…
maxim092001 279889b
Self types: test with self class as return type with implicit self ty…
maxim092001 42b129f
Self types: test with self abstract class and manual self type parameter
maxim092001 0a26bb4
Self types: more tests for nested classes
maxim092001 a17bc3e
Self types: add transformation chain test
maxim092001 896f2ad
Self types: add observer pattern test
maxim092001 4eb4edc
Self types: use this without explicit cast to Self
maxim092001 6c03792
Self types: remove unchecked cast check for Self types
maxim092001 c8abb59
Self types: add outer and nested self classes
maxim092001 8eea494
Self types: fix fir
maxim092001 3ab3b57
Self types: change symbol name check to standard name in SelfTypeChecker
maxim092001 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
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.
Please add a test confirming this check is needed