-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cyclic type definitions #33
Merged
+2,313
−649
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
a2bb2ee
first working version of type definitions in "wrong" order for classe…
JohannesMeierSE bf1eb78
listener for new inference rules, fixed several bugs
JohannesMeierSE 36708f0
fixed important bug
JohannesMeierSE c1f02ec
refactorings, improved comments
JohannesMeierSE 0c933fa
validation (instead of exception) for super-sub-class cycles
JohannesMeierSE ddda324
propagate cyclic types to the direct children
JohannesMeierSE 6c29f57
propagate types to ignore recursively to indirect dependencies as well
JohannesMeierSE 40bea25
added more expected error messages into existing test cases
JohannesMeierSE d4b1cde
simplified code, improved comments, more test cases, renamings, some …
JohannesMeierSE 005c37f
fixed registration of inference rules of classes, new deconstruct log…
JohannesMeierSE 072de08
more test cases for cyclic classes
JohannesMeierSE 704d81c
small improvements for the lifecycle of types, renamings
JohannesMeierSE a07614b
realized cyclic types with Functions involved, slightly reworked the …
JohannesMeierSE 14b21d5
fix for unique method validation, more test cases
JohannesMeierSE db66fba
more comments, renamings
JohannesMeierSE 9f1b703
refactorings, more test cases and comments according to the review
JohannesMeierSE 2a6c18f
added name as identifier for nominally typed classes earlier, refacto…
JohannesMeierSE 3b471e2
improved existing test cases
JohannesMeierSE bc43521
renaming, refactoring, more comments
JohannesMeierSE 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
added name as identifier for nominally typed classes earlier, refacto…
…ring
commit 2a6c18fc3cfefbe6540982bdd820f0130ac5563e
There are no files selected for viewing
This file contains 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 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 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.
It is structural, but uses the nominal identifier?
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.
I renamed the function, since its name was misleading: When used in languages (e.g. TypeScript), structurally typed classes are used by other classes not by encoding their structure but by using their "names". Therefore "name-based identifiers" are relevant for structurally typed classes as well.