Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
200 stars 48 forks source link

Array index out-of-bounds #302

Open D-a-n-i-l-o opened 1 year ago

D-a-n-i-l-o commented 1 year ago

Code:

alias u8 = ubyte;

void main() {
    u8 c3 = 'b';
}

When hovering with the mouse over the u8 symbol I get the following error inside Nova.app with D-velop plugin:

A fatal internal error occured in serve-d
handling this request but it will attempt to keep
running: index [4] is out of bounds for array of length 4
WebFreak001 commented 1 year ago

fixed upstream in dfmt, need release still though