dotnet / csharpstandard

Working space for ECMA-TC49-TG2, the C# standard committee.
Creative Commons Attribution 4.0 International
718 stars 86 forks source link

Ambiguities: syntactical vs. semantic #965

Open Nigel-Ecma opened 1 year ago

Nigel-Ecma commented 1 year ago

This issue came to light as a result of #964 where an issue with the wording of an ambiguity described in §6.2.5 Grammar ambiguities was discussed and addressed.

Ambiguities are covered in two ways:

However #964 drew attention to an ambiguity relating to relational expressions, §12.12.1, being covered in §6.2.5 and not in context in §12.12.1. However these is an informative note in the latter (which needs work, see #935).

The issue to resolve is whether we should:

Tagging as Pre-C# 8.0 as it both stems from such an issue and I expect we might be adding more ambiguities as we move forward…

jskeet commented 1 year ago

Leaning towards the third option, which would mean adding the semantic ambiguities into 6.2.5 and keeping them in the context (where they are already). We are just concerned about whether we can be complete in this.

jskeet commented 1 year ago

Deferring until a meeting where @MadsTorgersen is around.

jskeet commented 4 months ago

Resolution on 2024-06-12:

jskeet commented 4 months ago

@Nigel-Ecma to file specific bugs for known issues, then close this one.