[Issue 24628] New: Display of linkage in the compiler versus docs and examples
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jun 25 15:27:34 UTC 2024
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24628
          Issue ID: 24628
           Summary: Display of linkage in the compiler versus docs and
                    examples
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: qs.il.paperinik at gmail.com
In the vast majority of uses, linkage is expressed without a space: e.g.
`extern(C)` instead `extern (C)`, however, when DMD displays linkage, it
inserts this space.
```d
extern(C) void f() { }
pragma(msg, typeof(&f));
```
Prints:
```
extern (C) void function()
```
Expected:
```
extern(C) void function()
```
--
    
    
More information about the Digitalmars-d-bugs
mailing list