Skip to content

Conversation

aviatesk
Copy link
Member

I found getfield_tfunc can easily throw on this code path.
In the added test case, I intentionally formed PartialStruct as an
example target that can cause an error, but the same thing can happen
for other arbitrary CompilerTypes objects.

@aviatesk aviatesk requested a review from vtjnash September 24, 2021 18:13
@aviatesk aviatesk added the compiler:inference Type inference label Sep 24, 2021
I found `getfield_tfunc` can easily throw on this code path.
In the added test case, I intentionally formed `PartialStruct` as an
example target that can cause an error, but the same thing can happen
for other arbitrary `CompilerTypes` objects.
@aviatesk aviatesk merged commit 53aa65a into master Sep 24, 2021
@aviatesk aviatesk deleted the avi/infgetfield branch September 24, 2021 19:45
DilumAluthge added a commit that referenced this pull request Sep 26, 2021
KristofferC pushed a commit that referenced this pull request Sep 28, 2021
I found `getfield_tfunc` can easily throw on this code path.
In the added test case, I intentionally used `PartialStruct` as an
example target that can cause an error, but the same thing can happen
for other arbitrary `CompilerTypes` objects.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
I found `getfield_tfunc` can easily throw on this code path.
In the added test case, I intentionally used `PartialStruct` as an
example target that can cause an error, but the same thing can happen
for other arbitrary `CompilerTypes` objects.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
I found `getfield_tfunc` can easily throw on this code path.
In the added test case, I intentionally used `PartialStruct` as an
example target that can cause an error, but the same thing can happen
for other arbitrary `CompilerTypes` objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:inference Type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants