-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Add the concept of semantic similarity to the type system #1958
Merged
emilyaherbert
merged 50 commits into
master
from
emilyaherbert-1898-2/semantic-type-constraints
Jun 21, 2022
Merged
Changes from 49 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
bf6fdc3
Do not rely on TypeMapping when type checking declarations.
681ce59
Prevent leaking types in impls.
3f0e80c
Prevent unconstrained type parameters.
fde6b33
WIP
a1a968e
Merge with master.
4e34bf6
Merge remote-tracking branch 'origin/master' into emilyaherbert/preve…
503a183
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert ec9881e
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert e4fbc35
Merge branch 'emilyaherbert/type-parameters' into emilyaherbert/preve…
577ed59
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert 56a1c6b
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert 966f110
Merge remote-tracking branch 'origin/master' into emilyaherbert/type-…
b6c8389
Merge branch 'emilyaherbert/type-parameters' into emilyaherbert/preve…
8f173f1
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert ba48b7f
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert ba2574a
Merge branch 'master' into emilyaherbert/prevent-leaking-types
emilyaherbert 60ed360
clippy
5b23513
Merge branch 'emilyaherbert/prevent-leaking-types' into emilyaherbert…
emilyaherbert 5224c7e
Merge remote-tracking branch 'origin' into emilyaherbert-1898-2/seman…
90038d6
Merge remote-tracking branch 'origin/emilyaherbert-1143-3/disallow-un…
6650bf2
WIP
b403607
Use TypeId in TypeMapping and in TraitMap.
83d4674
Merge remote-tracking branch 'origin/emilyaherbert/use-type-id' into …
6f8c116
Add semantic type constraints.
1e90bce
Merge remote-tracking branch 'origin/master' into emilyaherbert-1898-…
d8a7b91
Update test case.
bdfa17e
Merge remote-tracking branch 'origin/master' into emilyaherbert-1143-…
f43e418
Merge remote-tracking branch 'origin/master' into emilyaherbert/use-t…
9163a4a
Merge branch 'emilyaherbert-1143-3/disallow-unconstrained-type-parame…
0b59080
Merge branch 'emilyaherbert/use-type-id' into emilyaherbert-1898-2/se…
1e7d3ce
fix
bccc7a0
Merge remote-tracking branch 'origin/master' into emilyaherbert-1898-…
ff97c79
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert 8f1ace7
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert 3942946
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert dc600b2
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert b422009
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert 1adbaca
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert 3b5e2f1
Bug is fixed.
22207cc
Merge branch 'emilyaherbert-1898-2/semantic-type-constraints' of gith…
60ff0aa
Add forc.lock.
a7b19ef
update
61b6968
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert d7e81c5
Move test to inside of the SDK.
40dbda6
Merge branch 'emilyaherbert-1898-2/semantic-type-constraints' of gith…
997747e
Fix test cases.
c80f9a7
Merge remote-tracking branch 'origin/master' into emilyaherbert-1898-…
75efbef
Add lock files.
7e98ff0
Fix test.
fbcc1b0
Merge branch 'master' into emilyaherbert-1898-2/semantic-type-constra…
emilyaherbert 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 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
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
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.
could we say
{} (id {})
instead?{}: {}
introduces ambiguity IMO because it looks like a trait constraint