Skip to content

Commit e6a403a

Browse files
committed
Fix doc comment
1 parent 30f9f48 commit e6a403a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ object ProtoTypes {
9797
abstract case class SelectionProto(name: Name, memberProto: Type, compat: Compatibility, privateOK: Boolean)
9898
extends CachedProxyType with ProtoType with ValueTypeOrProto {
9999

100-
/** Is the set of members of this type unknown? This is the caes if:
100+
/** Is the set of members of this type unknown? This is the case if:
101101
* 1. The type has Nothing or Wildcard as a prefix or underlying type
102102
* 2. The type has an uninstantiated TypeVar as a prefix or underlying type,
103-
* or as an upper bound of a prefix and underlying type.
103+
* or as an upper bound of a prefix or underlying type.
104104
*/
105105
private def hasUnknownMembers(tp: Type)(implicit ctx: Context): Boolean = tp match {
106106
case tp: TypeVar => !tp.isInstantiated

0 commit comments

Comments
 (0)