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

inlining: allow non-compileable result when handling ConcreteResult #49074

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Mar 21, 2023

In rare cases, the system might decide to widen the signature of a call that is determined to throw by concrete-evaluation. We should remove this unnecessary assertion here.

closes #49050

test/compiler/inline.jl Outdated Show resolved Hide resolved
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Mar 21, 2023
aviatesk and others added 2 commits March 22, 2023 00:52
In rare cases, the system might decide to widen the signature of a call
that is determined to throw by concrete-evaluation.
We should remove this unnecessary assertion here.

closes #49050
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
@Keno Keno merged commit 5b49c03 into master Mar 21, 2023
@Keno Keno deleted the avi/49050 branch March 21, 2023 23:46
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Mar 28, 2023
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
…JuliaLang#49074)

* inlining: allow non-compileable result when handling `ConcreteResult`

In rare cases, the system might decide to widen the signature of a call
that is determined to throw by concrete-evaluation.
We should remove this unnecessary assertion here.

closes JuliaLang#49050

* Update test/compiler/inline.jl

Co-authored-by: Jameson Nash <vtjnash@gmail.com>

---------

Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

concrete evaluation should never happen for uncompileable callsite
4 participants