fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

No service error for using CompiledName on multiple values

Open auduchinok opened this issue 7 years ago • 0 comments

Attributes are applied to each value defined in bindings. It should not be allowed for CompiledName and a service error should be produced.

[<CompiledName("A")>]
let a, b = 1, 2

An error is produced during IL writing:

Error in pass2 for type Program, error: duplicate entry 'get_A' in method table

auduchinok avatar Jan 18 '19 18:01 auduchinok