-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[WIP] C# 14: Support extension blocks.
#21220
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
michaelnebel
wants to merge
39
commits into
github:main
Choose a base branch
from
michaelnebel:csharp14/extension
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.
+2,444
−92
Draft
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
d141071
C#: Extractor support for extension blocks.
michaelnebel a48ccc0
C#: Implicit extension parameters should be fresh entities.
michaelnebel 9a952db
C#: Add extension types to the db scheme.
michaelnebel 8c73831
C#: Static extension methods in extension types should also have thei…
michaelnebel d3c84ce
C#: The call to an extension operator should be considered an operato…
michaelnebel 20f235c
C#: Minor improvements.
michaelnebel 76f1c31
C#: Introduce a new expr kind for when accessors are invoked directly.
michaelnebel 4cd0c0f
C#: Add various extension related classes to the QL library.
michaelnebel 4b5e1e9
C#: Add extensions tests.
michaelnebel 272f17d
C#: Extract the receiver type for extension types.
michaelnebel 5290913
C#: Add a extension receiver type table to the DB scheme.
michaelnebel 47194d5
C#: Use the relation in the ExtensionType relation in the QL library.
michaelnebel daa088e
C#: Add some QL tests for extension types.
michaelnebel e1ec008
C#: Remove some TODO reminder comments.
michaelnebel 834e09c
C#: Synthesize the implicit extension parameters for generics.
michaelnebel f16a040
C#: Add generic test.
michaelnebel f8a2168
C#: Replace calls to constructed generic extensions methods with call…
michaelnebel 8ddd08e
C#: Update test expected output.
michaelnebel b16abc9
C#: Add some more generic types and methods.
michaelnebel b7451e4
C#: Add unbound parameter for constructed generic extensions.
michaelnebel e1f78b7
C#: Update extensionType expected output.
michaelnebel bba2bd4
C#: Support replacing invocations of generic methods in generic exten…
michaelnebel 2bdfd6d
C#: Add some more tests and update the expected test output.
michaelnebel d5fc092
C#: Add some more tests.
michaelnebel 42c9ac7
C#: Support generic extensions in non-generic extension types.
michaelnebel f5287eb
C#: Remove the accessor invocation expr from the DB scheme.
michaelnebel 0526873
C#: Cleanup the extractor code.
michaelnebel 2ea588a
C#: Cleaup the QL implementation.
michaelnebel e2c0623
C#: Update tests and test expected output.
michaelnebel 10918c7
C#: Update the printing of extension accessor calls.
michaelnebel 47814fe
C#: Update test expected output.
michaelnebel a92ade6
C#: Replace extension type parameter access with synthetic parameter …
michaelnebel 7c3126f
C#: Shift arguments to extension property calls as the qualifier is a…
michaelnebel 8136deb
C#: Add dispatching logic for direct (method) accessor calls.
michaelnebel c0b1d7b
C#: Add extensions data flow tests.
michaelnebel b133a6b
C#: Relax models as data type name validation to accept parenthesis (…
michaelnebel d42cfd0
C#: Add MaD tests for extensions.
michaelnebel 85791ad
Fixup of dispatch.
michaelnebel 5c44c08
C#: Add PrintAst test for extensions.
michaelnebel 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.
Check notice
Code scanning / CodeQL
Generic catch clause Note