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

Please update main branch (stopped at 11 Jun 2024) #1343

Closed
jnm2 opened this issue Sep 3, 2024 · 7 comments
Closed

Please update main branch (stopped at 11 Jun 2024) #1343

jnm2 opened this issue Sep 3, 2024 · 7 comments
Milestone

Comments

@jnm2
Copy link

jnm2 commented Sep 3, 2024

error CS9240: Target runtime doesn't support by-ref-like generics.

using System;

void M<T>(T disposable) where T : IDisposable, allows ref struct
{
    disposable.Dispose();
}

https://sharplab.io/#v2:EYLgtghglgdgNAFxANwKYCcoDMCeAfAAQCYBGAWAChKCAWAAgFkAeAFQD4AKFugEygGcADgHt+EYABtUASjoB3ABYZUdbiDoBJACICRYyajh0IEicLn866VFjr8E6AK4BjBJQDelOt967R4qQA6HSFRVA5pAG5KAF8gA

@John0King
Copy link

any progress on this ?

@jnm2
Copy link
Author

jnm2 commented Sep 29, 2024

@ashmind It seems that very shortly after the last fix you did to get main updating again, it froze again.

@julealgon
Copy link

I wanted to test some code using the new OverloadResolutionPriority attribute and hit the same limitation 😢

@chillitom
Copy link

dotnet 9/ C# 13 is out, would be great to have it included

@ashmind
Copy link
Owner

ashmind commented Nov 18, 2024

This is now resolved, thanks for reporting.

@ashmind ashmind closed this as completed Nov 18, 2024
@KeterSCP
Copy link

Hi @ashmind! The new syntax is available only on main branch. But for Default/X64 it is still not updated. Is this expected?

@ashmind
Copy link
Owner

ashmind commented Nov 18, 2024

@KeterSCP Good question: Default is a separate (manual) update -- I'll track in #1351.

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

No branches or pull requests

6 participants