We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fe5eb3 commit 7e381c6Copy full SHA for 7e381c6
languageserver/integration/resolvers.go
@@ -20,6 +20,7 @@ package integration
20
21
import (
22
"errors"
23
+ "fmt"
24
"path/filepath"
25
"strings"
26
@@ -74,7 +75,7 @@ func (r *resolvers) identifierImport(location common.IdentifierLocation) (string
74
75
if location == stdlib.CryptoContractLocation {
76
return string(coreContracts.Crypto()), nil
77
}
- return "", nil
78
+ return "", fmt.Errorf("unknown identifier location: %s", location)
79
80
81
// addressContractNames returns a slice of all the contract names on the address location.
0 commit comments