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
@iSazonov it makes sense to me. Can you please format it into a formal API proposal? It is just much easier to read and review in larger group. Thanks!
@stephentoub mentioned that the sheer fact of us exposing these APIs might cause more issues, when people multi-target and now end up calling the "wrong" APIs. There is also the meta problem that this is a battle we just can't win; C# has an implicit conversion from char to int, so maybe be should just bite the bullet and accept this as a fact of life.
Activity
karelz commentedon Mar 31, 2017
@iSazonov it makes sense to me. Can you please format it into a formal API proposal? It is just much easier to read and review in larger group. Thanks!
iSazonov commentedon Mar 31, 2017
@karelz Issue was reformatted.
karelz commentedon Mar 31, 2017
Thanks! I let area owners to check it. From my perspective it is ready for larger API review.
terrajobst commentedon Jul 16, 2019
This is a good point. The same problem would also exist for this piece of code:
So I suggest we add these two:
@stephentoub mentioned that the sheer fact of us exposing these APIs might cause more issues, when people multi-target and now end up calling the "wrong" APIs. There is also the meta problem that this is a battle we just can't win; C# has an implicit conversion from
chartoint, so maybe be should just bite the bullet and accept this as a fact of life.danmoseley commentedon Jul 16, 2019
Ouch, I'm surprised this didn't come up before.
terrajobst commentedon Jul 16, 2019
Video
So after discussion we think it's not worth it. It's been 20 years and this isn't a widespread enough problem.