Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing front end error leading to spurious linker errors #20565

Open
Lars-Kristiansen opened this issue Dec 16, 2024 · 2 comments
Open

Missing front end error leading to spurious linker errors #20565

Lars-Kristiansen opened this issue Dec 16, 2024 · 2 comments

Comments

@Lars-Kristiansen
Copy link

Lars-Kristiansen commented Dec 16, 2024

I've noticed this problem recently, dmd v2.109.1, linux, amd64.

to reproduce:

git clone https://gitlab.com/basile.b/harbored-mod.git
cd harbored-mod
dub build
echo "worked"
 
git checkout bug-missing-convert-error
dub build

so when init is used no problem, when I use defautlt ctor, linkers problems. Nice.

The real problem is that a front-end error is not issued. The third member does not implictly convert to null.

@Lars-Kristiansen
Copy link
Author

add --force to dub too, although the bug happens w/o.

@dkorpel
Copy link
Contributor

dkorpel commented Dec 23, 2024

Can you reduce it to a self-contained example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants