svaante / dape

Debug Adapter Protocol for Emacs
GNU General Public License v3.0
455 stars 25 forks source link

Avoid relying on non-guaranteed return value of defun #63

Closed leungbk closed 6 months ago

leungbk commented 7 months ago

According to its documentation, defun's return value is not defined.

svaante commented 7 months ago

Hey! Did not know that was the case, but the documentation makes it loud and clear. The same issue exists in dape-config form as well. Would you mind fixing those as well in the same pr?

svaante commented 6 months ago

This has changed on master so this PR is not needed anymore, but thanks for bringing it to my attention.