Skip to content

Commit b176eca

Browse files
committed
Make $reach a SyntehticArtifact
That way it does not show up in completion suggestions
1 parent 61a55d3 commit b176eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class Definitions {
312312
Final,
313313
bounds = TypeBounds.lower(AnyClass.thisType))
314314

315-
@tu lazy val Any_ccReach = enterMethod(AnyClass, nme.CC_REACH, AnyType)
315+
@tu lazy val Any_ccReach = enterMethod(AnyClass, nme.CC_REACH, AnyType, SyntheticArtifact | Final)
316316

317317
def AnyMethods: List[TermSymbol] = List(Any_==, Any_!=, Any_equals, Any_hashCode,
318318
Any_toString, Any_##, Any_getClass, Any_isInstanceOf, Any_asInstanceOf, Any_typeTest,

0 commit comments

Comments
 (0)