docs icon indicating copy to clipboard operation
docs copied to clipboard

Disagreement with ECMA-334

Open LisandroSu opened this issue 8 years ago • 2 comments

@flaviotsales commented on Fri Aug 10 2018

The two comments

// Must be defined inside a class called Fahrenheit:

disagrees with the ECMA-334 standard on 11.5.2 Permitted user-defined conversions, which says

>* Either S0 or T0 is the class or struct type in which the operator declaration takes place.


Detalhes do documento

⚠ Não edite esta seção. É necessário para a vinculação do problema do docs.microsoft.com ➟ GitHub.

LisandroSu avatar Aug 10 '18 20:08 LisandroSu

Hi team,

Please check on the issue reported by the user.

Thanks!

LisandroSu avatar Aug 10 '18 20:08 LisandroSu

This is an error. The comment should read:

// Must be defined either inside a class called Fahrenheit or Celsius:

Note: as part of triage, I checked the implicit page, and that does not have this issue.

BillWagner avatar Aug 10 '18 21:08 BillWagner