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 [1]. :(

D's competition got stuff like this right:

```
crystal build foo.cr
In foo.cr:6:6

 6 | puts f.x
          ^
Error: read before assignment to local variable 'f'
```

[1] https://issues.dlang.org/show_bug.cgi?id=4595

Reply via email to