You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both versions compile properly using dmd and gdc. Tried with debian sid ldc:
LDC - the LLVM D compiler (1.21.0):
based on DMD v2.091.1 and LLVM 9.0.1
built with LDC - the LLVM D compiler (1.21.0)
Default target: x86_64-pc-linux-gnu
Host CPU: znver1
http://dlang.org - http://wiki.dlang.org/LDC
and also on run.dlang.io with the same results.
The text was updated successfully, but these errors were encountered:
kinke
added a commit
to kinke/ldc
that referenced
this issue
Jul 10, 2020
…declared functions
Whenever we need an IR function, we'd better make sure it exists. Handle
that in DtoCallee(), by invoking DtoDeclareFunction() by default,
instead of the previous DtoResolveFunction() + DtoCallee() combo.
DtoResolveFunction() usually declares the function, but somehow doesn't
for abstract and body-less functions.
…ions (#3503)
Whenever we need an IR function, we'd better make sure it exists. Handle
that in DtoCallee(), by invoking DtoDeclareFunction() by default,
instead of the previous DtoResolveFunction() + DtoCallee() combo.
DtoResolveFunction() usually declares the function, but somehow doesn't
for abstract and body-less functions.
When doing separate compilation, if an interface method is declared but not implemented it triggers an Assertion:
This happens both with
static
and withfinal
methods:Trying to compile either version of the code with
ldc2 -c a.d
triggers:Both versions compile properly using
dmd
andgdc
. Tried with debian sid ldc:and also on run.dlang.io with the same results.
The text was updated successfully, but these errors were encountered: