You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error occurs locally with .Net 8.0.302 of the sdk and on sharplab with main (11 Jun 2024), if I choose "Default", the error becomes CS1061 instead of CS7038
Diagnostic Id: CS7038: Failed to emit module
Expected Behavior: CS1061
Actual Behavior: Outputs the cryptic error CS7038: Failed to emit module
The code is based on the omnisharp container, that's where I encountered the error. I reduced it to the minimal version where I was still able to get the error, the implicit operator from ImmutableArray seems to be important for this. The original container class has a bunch of other operators, but they don't seem related to the error.
The text was updated successfully, but these errors were encountered:
korsarNek
changed the title
CS7038: Failed to emit module in most recent version if new collection syntax is used but not supported.
CS7038: Failed to emit module if new collection syntax is used with an implicit ImmutableArray operator.
Jun 27, 2024
Version Used:
.Net 8.0.302, also occurs with 8.0.301, I haven't tested other versions.
Steps to Reproduce:
sharplab
The error occurs locally with .Net 8.0.302 of the sdk and on sharplab with main (11 Jun 2024), if I choose "Default", the error becomes CS1061 instead of CS7038
Diagnostic Id: CS7038: Failed to emit module
Expected Behavior: CS1061
Actual Behavior: Outputs the cryptic error CS7038: Failed to emit module
The code is based on the omnisharp container, that's where I encountered the error. I reduced it to the minimal version where I was still able to get the error, the implicit operator from ImmutableArray seems to be important for this. The original container class has a bunch of other operators, but they don't seem related to the error.
The text was updated successfully, but these errors were encountered: