dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

add RequestKind.requiresSourceCode, fix #617 #618

Closed WebFreak001 closed 4 years ago

WebFreak001 commented 4 years ago

this is a or-combined mask of the request kinds which operate on request.sourceCode. Before if a client sent a request without source code (with empty source) to one of these commands, the server would crash with an assertion failure, now the server returns an empty response.