File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
e2e/tolk/testcases/completion
languages/tolk/completion Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -107,3 +107,12 @@ fun foo() {
107107------------------------------------------------------------------------
1081085 some int
1091095 someOther slice
110+
111+ ========================================================================
112+ No type parameters completion as value
113+ ========================================================================
114+ fun foo<TName, TName2>() {
115+ TNam<caret>;
116+ }
117+ ------------------------------------------------------------------------
118+ No completion items
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ export class ReferenceCompletionProcessor implements ScopeProcessor {
5555 }
5656 }
5757
58+ if ( node instanceof TypeParameter ) return false
59+
5860 // since structs can be created like `Foo{}` we allow them
5961 if ( node instanceof Struct ) return true
6062 return true
You can’t perform that action at this time.
0 commit comments