https://issues.dlang.org/show_bug.cgi?id=24483
Issue ID: 24483
Summary: Lack of error report from compiler - not linker one
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
abstract class A
{
abstract void foo();
}
class B : A
{
final override void foo()
{
super.foo(); // Should report an error on this line
}
}
void main()
{
auto b = new B();
}
Get obscured below error message
./onlineapp.d:10: error: undefined reference to '_D9onlineapp1A3fooMFZv'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
--