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(
737737 // NOTE(olafur) IntelliJ does not complete the root package and without this filter
738738 // then `_root_` would appear as a completion result in the code `foobar(_<COMPLETE>)`
739739 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
740743 ) ++ (
741744 Set (
742745 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),
746746 defn.ScalaPredefModule .info.member(nme.valueOf)
747747 ).flatMap(_.alternatives.map(_.symbol)).toSet
748748 )
You can’t perform that action at this time.
0 commit comments