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
Is your feature request related to a problem? Please describe.
After discussion with @bettinaheim, we believe that the issue microsoft/iqsharp#266 is due to the fact that IQ# is discarding certain compiler errors and attempting to build an assembly anyway, but the compiler is not executing the rewrite steps after the error has occurred.
Describe the solution you'd like
We would like a new option in CompilationLoader.Configuration by which we can tell the compiler to execute the rewrite steps anyway, even if there were errors in compilation.
Describe alternatives you've considered
There are other options for IQ# to work around the particular compiler errors that are being discarded, but simply compiling and then discarding the errors is the approach that requires the least low-level code manipulation on the IQ# side, and which has been working fine for the last couple of months.
Is your feature request related to a problem? Please describe.
After discussion with @bettinaheim, we believe that the issue microsoft/iqsharp#266 is due to the fact that IQ# is discarding certain compiler errors and attempting to build an assembly anyway, but the compiler is not executing the rewrite steps after the error has occurred.
Describe the solution you'd like
We would like a new option in
CompilationLoader.Configurationby which we can tell the compiler to execute the rewrite steps anyway, even if there were errors in compilation.Here is the code in IQ# where this new option would be consumed:
https://github.com/microsoft/iqsharp/blob/186bacb0570ef8688ffa8dac48d6a1230169b61f/src/Core/Compiler/CompilerService.cs#L129-L138
Describe alternatives you've considered
There are other options for IQ# to work around the particular compiler errors that are being discarded, but simply compiling and then discarding the errors is the approach that requires the least low-level code manipulation on the IQ# side, and which has been working fine for the last couple of months.