dotnet6 project failing on static abstracts with preview features set to true
I am seeing this error attempting to use static abstracts in a .net 6 project
12 Replies
this code works on other peoples machines fine, its on a 6.0.400 install of dotnet
cc @tannergooding maybe? Static abstracts are sorta your wheel house
csproj
.net 6 has many limitations as not all runtime support is ghere
Also going camping until Wednesday, so little internet
ahh ok, have fun
ohh wow ok, so i upgraded my sdk from 6.0.1 -> 6.0.4 and it started failing for me
fascinating
this feels like a bug
Show code, but likely not a bug
GitHub
Disallow interfaces with static virtual members as type arguments ·...
This proposal attempts to address a type hole that has been pointed out a number of times with static virtual members, e.g. here. Static virtual members (Proposal: static-abstracts-in-interfaces.md...
did this ship 5 days ago as part of 6.0.8 of the runtime?
Wouldn't surprise me
thats fantastic lol
-_-
and code is this
for a moment i thought you had lied to us all about your name
this is quite unfortunate
i am going to have to rewrite... everything for this
and i cant write a conversion cuz its an interface