Skip to content

Commit 9ee4518

Browse files
committed
adapt specification
1 parent daf2260 commit 9ee4518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/IsInstanceOfChecker.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ object Checkable {
4646
* 1. if `P` is a singleton type, TRUE
4747
* 2. if `P` is WildcardType, TRUE
4848
* 3. if `P = T @unchecked`, TRUE
49-
* 4. if `P` refers to an abstract type member, FALSE
49+
* 4. if `P` refers to an abstract type member or type parameter, FALSE
5050
* 5. if `P = Array[T]`, checkable(E, T) where `E` is the element type of `X`, defaults to `Any`.
5151
* 6. if `P` is `pre.F[Ts]` and `pre.F` refers to a class which is not `Array`:
5252
* (a) replace `Ts` with fresh type variables `Xs`

0 commit comments

Comments
 (0)