On 1/26/21 2:41 PM, Andre Pany wrote:
For your specific problem, this issue is related to your dub.json:
"configurations": [
{
"excludedSourceFiles": [
"source/mysql/package.d"
],
"name": "application",
"targetType": "executable",
"versions": [
"VibeCustomMain"
]
},
{
"excludedSourceFiles": [
"source/app.d",
"source/mysql/package.d"
],
"name": "library",
"targetType": "library"
}
],
If you remove the excludedSourceFiles from config "library", it is working.
But at the moment I am puzzled, what is going on here.
Wait, this makes no sense. I'm going to have to figure out why those are
added. And THANK YOU for seeing that. That is definitely the issue
(ModuleInfoZ is the module info for a module)
what really bugs me is that this only seemed to be happening with DMD
2.095. The simple app worked with a different version of the compiler
(2.094 I think, but I have to reinstall to figure it out).
I feel like this was added by the previous author to fix some quirky
issue with either dub or the compiler. It could be related to
documentation too.
-Steve