[Issue 24088] A nested function that returns a tuple that is written with short syntax function does not want to compile.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Aug 16 20:12:28 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24088
Nick Treleaven <nick at geany.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
Reduced:
```
struct S(T) {}
void main()
{
    S!int f() => S!int();
}
```
I think I have a fix for isDeclarator in parse.d, will submit tomorrow.
--
    
    
More information about the Digitalmars-d-bugs
mailing list