https://issues.dlang.org/show_bug.cgi?id=20923
Issue ID: 20923
Summary: Playing with types leads to not detailed error message
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Code:
================
module app;
alias c_ulong = ulong;
extern(C)
{
alias size_t = c_ulong;
struct S
{
real not_reproduceable_without_this_variable;
}
}
================
Try to compile:
$ dmd -c -m32 app.d
Error: cannot implicitly convert expression h of type ulong to uint
Error message isn't contains filename and line number, but contains reference
to unknown h expression.
--