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
I currently have an issue when it comes to using BsonObjectID in a struct. In debug mode, it compiles and builds just fine but when it comes to building using dub build -b release, i get
../../../.dub/packages/vibe-d-0.7.21-beta.4/source/vibe/internal/meta/traits.d(150): Error: null dereference in function _D4vibe8internal4meta6traits79__T9isRWFieldTS9shouthost7service7backend9datastore12QueueAccountVAyaa3_5f6964Z16__T10testAssignZ10testAssignFNaNbNiNfZv
Error: null dereference in function _D4vibe8internal4meta6traits79__T9isRWFieldTS9shouthost7service7backend9datastore12QueueAccountVAyaa3_5f6964Z16__T10testAssignZ10testAssignFNaNbNiNfZv
The only thing I am currently doing is just compiling in debug mode while investigating into why "__traits(getMember, *pt, M) = __traits(getMember, *pt, M);" is causing this error. I am honestly am stump as to why this is happening since this is my first time coming across this. Any idea @s-ludwig ?
Not sure why it (only) occurs in release mode, but I've worked around it by replacing the pointer by an uninitialized stack value, which should hopefully not break anything.
I currently have an issue when it comes to using BsonObjectID in a struct. In debug mode, it compiles and builds just fine but when it comes to building using
dub build -b release
, i getwith the struct being
Is there something I should change?
The text was updated successfully, but these errors were encountered: