-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
cross module inlining fails when code contains switch with string argument and at least 7 cases #4808
Comments
Can you help out and test with a small testcase whether cross-module inlining works for |
I can confirm this bug on linux as well. I also confirmed the bug is present in the case when all of the variables are static ones inside of the function (though I now realize this is probably not what you meant):
|
Here is what I think you actually wanted:
|
When dub is run with --combined, the project does compile:
EDIT: --combined verbose output:
|
The following code
when compiled with these options:
results in the following error:
The identifier in question is defined in druntime here.
Tested on Windows 10 with LDC 1.40.0.
The text was updated successfully, but these errors were encountered: