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

Update System.Reactive to 4.4.1 to avoid infinite recursive generics in CoreRT #3741

Merged
merged 1 commit into from Apr 4, 2020
Merged

Conversation

hez2010
Copy link
Contributor

@hez2010 hez2010 commented Apr 3, 2020

What does the pull request do?

Update System.Reactive to 4.4.1 to avoid infinite recursive generics in CoreRT.

What is the current behavior?

Compilation never finished while building with CoreRT

What is the updated/expected behavior with this PR?

Build with CoreRT successfully.

How was the solution implemented (if it's not obvious)?

This issue was casued by System.Reactive and fixes to System.Reactive has been applied (dotnet/reactive#1116, dotnet/reactive#1121 and dotnet/reactive#1177), so updating System.Reactive can fix this issue.

Checklist

Breaking changes

No

Fixed issues

Fixes #3366

@dnfclas
Copy link

dnfclas commented Apr 3, 2020

CLA assistant check
All CLA requirements met.

@hez2010
Copy link
Contributor Author

hez2010 commented Apr 3, 2020

Confirmed resolved with 0.9.999-cibuild0006487-beta.

@hez2010 hez2010 marked this pull request as ready for review April 3, 2020 16:01
Copy link
Member

@grokys grokys left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @hez2010 !

@grokys grokys merged commit a9f301d into AvaloniaUI:master Apr 4, 2020
@hez2010
Copy link
Contributor Author

hez2010 commented Apr 17, 2020

I think this fix should be backport to v0.9 release, otherwise users who are using v0.9.x will never get successful AOT compilation.

@kekekeks
Copy link
Member

will never get successful AOT compilation.

You can just reference ReactiveUI directly from your project.

@danwalmsley
Copy link
Member

@kekekeks any reason not to backport this?

@kekekeks
Copy link
Member

Enforcing dependency version that's not strictly required might expose issues in end-user apps for absolutely no reason.

AOT was previously broken by us bumping System.Reactive to a newer version for the sake of bumping System.Reactive to a newer version.

Also, bumping dependencies is breaking SemVer.

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.

Avalonia 0.9.0 With Corert Takes so long To Compile
5 participants