qsharp-compiler icon indicating copy to clipboard operation
qsharp-compiler copied to clipboard

Remove ConstructorExtensions.fs

Open bamarsha opened this issue 4 years ago • 0 comments

The New methods defined in https://github.com/microsoft/qsharp-compiler/blob/main/src/QsCompiler/Core/ConstructorExtensions.fs can't be accessed from C#. This is problematic when changing the fields of a record, since the New methods can go through a deprecation period, but the default autogenerated record constructor can't (it always matches the current record fields).

Moving all of these methods to their original record modules would make them accessible from C#, and then this file can be removed.

bamarsha avatar Apr 09 '21 01:04 bamarsha