-
Notifications
You must be signed in to change notification settings - Fork 1k
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 opaque types #4028
Closed
Closed
Add opaque types #4028
Commits on Oct 11, 2018
-
Estabslih companionship directly
Don't use synthetic companion methods to achieve this. The advantages of the direct approach are: - it's overall simpler - it can be more easily extended to opaque types
Configuration menu - View commit details
-
Copy full SHA for df1c8bb - Browse repository at this point
Copy the full SHA df1c8bbView commit details -
Avoid follow-on error when trying to resolve overloads
resolve overload errors should be suppressed if some types are already erroenous.
Configuration menu - View commit details
-
Copy full SHA for 2450b0a - Browse repository at this point
Copy the full SHA 2450b0aView commit details -
Print types and term flags separately
Distinguish what is printed by previous knowledge whether the symbol is a term or a type.
Configuration menu - View commit details
-
Copy full SHA for 8c7e8e2 - Browse repository at this point
Copy the full SHA 8c7e8e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for faefd16 - Browse repository at this point
Copy the full SHA faefd16View commit details -
Treat as abstract types until FirstTransform, as aliases afterwards
Configuration menu - View commit details
-
Copy full SHA for e3689bd - Browse repository at this point
Copy the full SHA e3689bdView commit details
Commits on Oct 15, 2018
-
Open opaque types as gadts in opaque companion modules.
Configuration menu - View commit details
-
Copy full SHA for 53d1fca - Browse repository at this point
Copy the full SHA 53d1fcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6c5bd1 - Browse repository at this point
Copy the full SHA c6c5bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 716b3a0 - Browse repository at this point
Copy the full SHA 716b3a0View commit details -
Adapt tests to restricted meaning of GADTs
In the new implementation, a companion object of an opaque type opaque type T = A only knows that T <: A and that A <: T. By itself that does not propagate some informations from `A` to `T`. For instance the members of A are now not the members of T.
Configuration menu - View commit details
-
Copy full SHA for 207c380 - Browse repository at this point
Copy the full SHA 207c380View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6edd60 - Browse repository at this point
Copy the full SHA a6edd60View commit details
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.