Detect uninitialized class var access
rassoc at posteo.de
Sat Sep 24 23:04:00 UTC 2022
On 9/24/22 15:28, Adam D Ruppe via Digitalmars-d-learn wrote:
> gdb --args ./your_program
> and then it will tell you all the details you want to know about when this happens.
Thank you for your input, Adam. Real shame that there's no built-in compiler solution and probably never will be according to . :(
D's competition got stuff like this right:
> crystal build foo.cr
6 | puts f.x
Error: read before assignment to local variable 'f'
More information about the Digitalmars-d-learn