File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/kotlin/com/emberjs/hbs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ class HbsLocalCompletion : CompletionProvider<CompletionParameters>() {
6767 }
6868 }
6969
70- fun resolve (any : Any? , result : MutableList <LookupElement >, vis : MutableSet <PsiElement >? ) {
70+ fun resolve (any : Any? , result : MutableList <LookupElement >, vis : MutableSet <PsiElement ? >? ) {
7171 val anything = any as ? PsiElement
7272 var refElement: Any? = any
7373 if (any == null ) {
7474 return
7575 }
7676
77- var visited: MutableSet <PsiElement >? = vis
77+ var visited: MutableSet <PsiElement ? >? = vis
7878
7979 if (visited == null ) {
8080 visited = mutableSetOf ()
@@ -84,7 +84,7 @@ class HbsLocalCompletion : CompletionProvider<CompletionParameters>() {
8484 return
8585 }
8686
87- visited.add(anything!! )
87+ visited.add(anything)
8888
8989 if (anything is PsiFile ) {
9090 val styleSheetLanguages = arrayOf(" sass" , " scss" , " less" )
You can’t perform that action at this time.
0 commit comments