https://issues.dlang.org/show_bug.cgi?id=22377
Issue ID: 22377
Summary: Show location for Windows extern(C++) mangling ICE
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
As already reported in issue 16575, the following code will result in an ICE:
extern(C++) void foo(string a) {}
The error message does not contain the location for Windows:
Error: Internal Compiler Error: type `string` cannot be mapped to C++
Adding the location would make it easier to find the function.
The same has already been done for other platforms as part of
https://github.com/dlang/dmd/pull/7250.
--