You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.StackOverflowError: null
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:70)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:173)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:91)
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:78)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.TypeMaps$TypeMap.$anonfun$1(TypeMaps.scala:74)
at scala.collection.immutable.List.mapConserve(List.scala:472)
at tastyquery.TypeMaps$TypeMap.mapOverLambda(TypeMaps.scala:74)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:124)
at tastyquery.TypeMaps$NormalizingTypeMap.mapOver(TypeMaps.scala:209)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:90)
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:78)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.TypeMaps$TypeMap.op$proxy3$1(TypeMaps.scala:170)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:170)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:91)
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:78)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:139)
at tastyquery.TypeMaps$NormalizingTypeMap.mapOver(TypeMaps.scala:209)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:90)
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:78)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:139)
at tastyquery.TypeMaps$NormalizingTypeMap.mapOver(TypeMaps.scala:209)
at tastyquery.TypeMaps$TypeMap.mapOver(TypeMaps.scala:90)
at tastyquery.Substituters$SubstParamsMap.transform(Substituters.scala:78)
at tastyquery.TypeMaps$TypeMap.apply(TypeMaps.scala:32)
at tastyquery.Substituters$.substParams(Substituters.scala:16)
at tastyquery.Types$TypeLambdaType.instantiate(Types.scala:1645)
at tastyquery.Types$TypeLambdaType.instantiate$(Types.scala:1631)
at tastyquery.Types$TypeLambda.instantiate(Types.scala:1891)
at tastyquery.Types$Type.appliedTo(Types.scala:563)
at tastyquery.Types$Type.applyIfParameterized(Types.scala:574)
at tastyquery.Types$AppliedType.superType(Types.scala:1459)
The text was updated successfully, but these errors were encountered:
…ding subtyping.
There was an infinite recursion between looking up a type member
of a refinement and subtyping of that member against the same
refinement. This came from computing the merged TypeBounds of the
type member during subtyping, which used subtyping to get rid of
useless bounds.
We break the cycle by not using subtyping when merging the
TypeBounds of a type member anymore. Instead, we manually dive into
possibly-higher-kinded bounds (`TypeLambda`s themselves, but also
`Nothing` and `AnyKind`), and otherwise construction a union or
intersection type.
Unwrapping higher-kinded bounds is necessary because constructing
a uniont or intersection requires proper types.
sjrd
added a commit
to sjrd/tasty-query
that referenced
this issue
Dec 18, 2023
…ding subtyping.
There was an infinite recursion between looking up a type member
of a refinement and subtyping of that member against the same
refinement. This came from computing the merged TypeBounds of the
type member during subtyping, which used subtyping to get rid of
useless bounds.
We break the cycle by not using subtyping when merging the
TypeBounds of a type member anymore. Instead, we manually dive into
possibly-higher-kinded bounds (`TypeLambda`s themselves, but also
`Nothing` and `AnyKind`), and otherwise construction a union or
intersection type.
Unwrapping higher-kinded bounds is necessary because constructing
a uniont or intersection requires proper types.
In the classpath of
"com.typesafe.akka" %% "akka-stream" % "2.8.5"
:akka.stream.scaladsl.FlowOps
groupBy[K](maxSubstreams: Int, f: Out => K, allowClosedSubstreamRecreation: Boolean): SubFlow[Out, Mat, Repr, Closed]
The text was updated successfully, but these errors were encountered: