Skip to content
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

[pull] master from JuliaLang:master #1803

Merged
merged 4 commits into from
Mar 23, 2023
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 23, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

aviatesk and others added 4 commits March 23, 2023 09:58
- removed unnecessary `Core.` accessor
- use the default `nargs`/`isva` values of `OpaqueClosure` constructor
  where possible
- wrap the world age test in a separate module so that
  `include("test/opaque_closure")` works multiple times in the
  same session
Currently the constructor is destructive because it calls
`replace_code_newstyle!(src, ir, ...)` etc.
This commit made it non-destructive by calling `Core.Compiler.copy(ir)`
beforehand. We can define a destructive version of this
`Core.OpaqueClosure!` later if we really want it.
We use the specialized signature of a method for accurate analysis of
whether a static parameter is constrained or not. However, it turns out
that we can only use it when it doesn't contain any free type variables
(which it sometimes does, e.g., when the inference entry is given a
signature with a free type variable). In such cases, we should use the
method signature, which, by design, never contains any free type
variables.
@pull pull bot added the ⤵️ pull label Mar 23, 2023
@pull pull bot merged commit 703b3f8 into MLH-Fellowship:master Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants