object88 / langd

A Language Server Protocol implementation in Go for Go
MIT License
7 stars 0 forks source link

Loader gets into deadlock when handling self import #33

Closed object88 closed 6 years ago

object88 commented 6 years ago

Given the following code:

package bar
import "../bar"
func IncFoof() int {
    foo.Foof++
    return foo.Foof
}

... the loader will get stuck.

object88 commented 6 years ago

Fixed.