[Issue 19960] New: ElementType!(char[]) + betterC = wrong type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 14 00:56:37 UTC 2019


          Issue ID: 19960
           Summary: ElementType!(char[]) + betterC = wrong type
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: patric.dexheimer at gmail.com

//dmd main.d -betterC
import std.range;
pragma(msg, ElementType!(char[]) ); 

//main.d(2): Error: Cannot pass argument void to pragma msg because it is void

//dmd main.d


More information about the Digitalmars-d-bugs mailing list