Skip to content

Commit 218a55e

Browse files
authored
Merge pull request #339 from visualfc/fixgop
fix build
2 parents 2ea6d1d + 3a9ee05 commit 218a55e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gopls/internal/goxls/parserutil/parser_util.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
package parserutil
66

77
import (
8-
"github.com/goplus/gop"
98
"github.com/goplus/gop/ast"
109
"github.com/goplus/gop/parser"
1110
"github.com/goplus/gop/token"
11+
"github.com/goplus/gop/tool"
1212
"github.com/goplus/mod/gopmod"
1313
)
1414

@@ -56,6 +56,6 @@ func GetClassType(file *ast.File, filename string, getMod func() (*gopmod.Module
5656
return
5757
}
5858
}
59-
classType, isTest = gop.GetFileClassType(mod, file, filename)
59+
classType, isTest = tool.GetFileClassType(mod, file, filename)
6060
return
6161
}

0 commit comments

Comments
 (0)