Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Aug 18, 2020

Stack from ghstack:

A reversed isSubtypeOf caused erroreous conversions to be inserted.

Differential Revision: D23192787

A reversed isSubtypeOf caused erroreous conversions to be inserted.

[ghstack-poisoned]
@zdevito zdevito requested a review from apaszke as a code owner August 18, 2020 17:48
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Aug 18, 2020
@zdevito zdevito requested a review from eellison August 18, 2020 17:55
Copy link
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@dr-ci
Copy link

dr-ci bot commented Aug 18, 2020

💊 CI failures summary and remediations

As of commit 88f02da (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet:


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 11 times.

A reversed isSubtypeOf caused erroreous conversions to be inserted.

Differential Revision: [D23192787](https://our.internmc.facebook.com/intern/diff/D23192787)

[ghstack-poisoned]
A reversed isSubtypeOf caused erroreous conversions to be inserted.

Differential Revision: [D23192787](https://our.internmc.facebook.com/intern/diff/D23192787)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Aug 18, 2020
A reversed isSubtypeOf caused erroreous conversions to be inserted.
This fixes the isSubtypeOf and fixes the optional conversion rules
that it was trying to work around by treating implicit conversions
to Optional[T] as conversions to T.

ghstack-source-id: cf1c88a
Pull Request resolved: #43213
Copy link
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM.

I don't think we need these calls to unwrapOptional anymore:

if (convertibleToList(value->type(), unwrapOptional(concrete_type))) {

A reversed isSubtypeOf caused erroreous conversions to be inserted.

Differential Revision: [D23192787](https://our.internmc.facebook.com/intern/diff/D23192787)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Aug 18, 2020
A reversed isSubtypeOf caused erroreous conversions to be inserted.
This fixes the isSubtypeOf and fixes the optional conversion rules
that it was trying to work around by treating implicit conversions
to Optional[T] as conversions to T.

ghstack-source-id: f78f439
Pull Request resolved: #43213
@facebook-github-bot
Copy link
Contributor

@zdevito merged this pull request in 410d5b9.

@facebook-github-bot facebook-github-bot deleted the gh/zdevito/169/head branch August 23, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants