-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Separate type context pass in new analysis #14721
Conversation
- Using the same name causes syntax ambiguities. It's also not allowed for user-defined classes and types.
Exclude list for AST JSON tests Fix type inference shellcheck failure Disable shellcheck SC2086
…tration-pass Separate type class registration pass in experimental analysis
Defining built-ins in experimental analysis
…nction and Itself
…riant rather than on the type variable
Assorted bugfixes for new analysis
…sues-to-make-tests-pass Patch codegen issues enough to make tests pass in experimental analysis
fdb1ceb
to
1a2b059
Compare
1a2b059
to
4ea8712
Compare
4ea8712
to
0426c6d
Compare
0426c6d
to
dd2197b
Compare
dd2197b
to
ec1fc8a
Compare
d04efe7
to
cd52e5a
Compare
This pull request is stale because it has been open for 14 days with no activity. |
This pull request is stale because it has been open for 14 days with no activity. |
This pull request is stale because it has been open for 14 days with no activity. |
Depends on #14668.
Replaces #14578.
This PR extracts type and sort context analysis from
TypeInference
. All the types that are given explicitly and do not have to be inferred are stored in annotations in that separate pass. This will enable let us extract processing of type class bodies fromTypeInference
into a separate pass in the next step (we could also just put it in the new pass).The code already passes tests, but needs some serious cleanup before it can be considered stable.
TypeInference
and duplicates its helpers, definitions and even error codes.type
in type context to something else to avoid confusion.members
,operators
andtypeClassFunctions
to the new pass.