Closed bbartman closed 3 years ago
This currently works as (this.(T_alloc_type)init)()
.
It parses like this but elaboration fails.
Elaboration has been fixed but parsing has not been addressed yet.
we discussed before changing the grammar like so:
postfix:
// ...
primary . id-expression
primary . ( id-expression ) id-expression
meaning this disambiguator thing can only come after this.
, which makes enough sense to me
fixed but leaving the issue open because i'm not sure i want to commit to only having these be postfix yet
Offending code:
After some investigation I discovered that the expression
this.(T_alloc_type)init();
is being parsed incorrectlyIt's being parsed as
when it should be