
June 4, 2022
6:02 a.m.
03.06.22 21:43, Nadav Misgav пише:
should I try to implement this? seems there is some acceptance
No core developer supported this feature. My example shows that there is a problem with the proposed syntax. It is too similar to the existing valid syntax, it will confuse both people and the compiler. Even if the current parser is able to handle this, we should not abuse this, because it will still look ambiguous to people and diagnostic of syntax errors will be very hard.