nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

Add check for function with empty receiver #185

Closed Kvaz1r closed 4 years ago

Kvaz1r commented 4 years ago

Fixes: #158

Type

Tests

I have tested locally against:

I have included automated tests:

nelsam commented 4 years ago

Side note: the table of contents needs to be open to the directory containing the file being edited in order for this panic to happen.

lgtm!