Fix type insert error
This commit is contained in:
parent
341875c843
commit
bb3a3ef430
@ -109,6 +109,10 @@ object InsertTypes {
|
||||
typesWithoutBounds = typesWithoutBounds - TypeVariable(a)
|
||||
Set(LessDot(GenericType(b), RefType("Object", List())))
|
||||
}else Set()
|
||||
case EqualsDot(TypeVariable(a), GenericType(_)) => if(linkedTypes.contains(TypeVariable(a))){
|
||||
typesWithoutBounds = typesWithoutBounds - TypeVariable(a)
|
||||
Set()
|
||||
}else Set()
|
||||
case _ => Set()
|
||||
}) ++ typesWithoutBounds.map(t => LessDot(t, RefType("Object", List())))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user