File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
presentation-compiler/src/main/dotty/tools/pc/completions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -737,12 +737,12 @@ class Completions(
737
737
// NOTE(olafur) IntelliJ does not complete the root package and without this filter
738
738
// then `_root_` would appear as a completion result in the code `foobar(_<COMPLETE>)`
739
739
defn.RootPackage ,
740
+ // NOTE(gabro) valueOf was added as a Predef member in 2.13. We filter it out since is a niche
741
+ // use case and it would appear upon typing 'val'
742
+ defn.ValueOfClass
740
743
) ++ (
741
744
Set (
742
745
defn.ObjectClass .info.member(nme.wait_),
743
- // NOTE(gabro) valueOf was added as a Predef member in 2.13. We filter it out since is a niche
744
- // use case and it would appear upon typing 'val'
745
- defn.ValueOfClass .info.member(nme.valueOf),
746
746
defn.ScalaPredefModule .info.member(nme.valueOf)
747
747
).flatMap(_.alternatives.map(_.symbol)).toSet
748
748
)
You can’t perform that action at this time.
0 commit comments