Skip to content

Commit 002f4b2

Browse files
Update compiler/src/dotty/tools/dotc/core/TypeErasure.scala
1 parent fe3062c commit 002f4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ object TypeErasure {
215215
}
216216

217217
/** Is `tp` an abstract type or polymorphic type parameter that has `Any`, `AnyVal`,
218-
* or a universal trait as upper bound and that.is(not) Java defined? Arrays of such types are
218+
* or a universal trait as upper bound and that is not Java defined? Arrays of such types are
219219
* erased to `Object` instead of `Object[]`.
220220
*/
221221
def isUnboundedGeneric(tp: Type)(implicit ctx: Context): Boolean = tp.dealias match {

0 commit comments

Comments
 (0)