This project is read-only.
1
Vote

Use the real variable names in the transQuotationToCode method of ProvidedTypes.fs

description

Currently it generates var0, var1, var2, etc..., which is not very helpful when you use reflector or other means to look at the code generated by erased type providers

Can you port this change back from FSharp.Data to here so that it eventually reaches everyone that uses type providers?

https://github.com/fsharp/FSharp.Data/blob/7f24d49eba9eb43ecd4feb50609998d5766d22ae/src/CommonProviderImplementation/ProvidedTypes.fs#L276

https://github.com/fsharp/FSharp.Data/blob/7f24d49eba9eb43ecd4feb50609998d5766d22ae/src/CommonProviderImplementation/ProvidedTypes.fs#L383

https://github.com/fsharp/FSharp.Data/blob/7f24d49eba9eb43ecd4feb50609998d5766d22ae/src/CommonProviderImplementation/ProvidedTypes.fs#L448

comments