mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-12 17:55:33 +00:00
fix: Fix type for functor [fixes LNG-119] (#677)
This commit is contained in:
parent
9074381b89
commit
bb24a63abb
@ -41,6 +41,12 @@ object ApplyFunctorRawInliner extends Logging {
|
|||||||
VarModel(apName, canonType, Chain.one(functorModel)),
|
VarModel(apName, canonType, Chain.one(functorModel)),
|
||||||
CanonicalizeModel(v, CallModel.Export(apName, canonType)).leaf
|
CanonicalizeModel(v, CallModel.Export(apName, canonType)).leaf
|
||||||
)
|
)
|
||||||
|
case CanonStreamType(el) =>
|
||||||
|
val arrType = ArrayType(el)
|
||||||
|
(
|
||||||
|
VarModel(apName, arrType, Chain.one(functorModel)),
|
||||||
|
FlattenModel(v, apName).leaf
|
||||||
|
)
|
||||||
case _ =>
|
case _ =>
|
||||||
(VarModel(apName, bt, Chain.one(functorModel)), FlattenModel(v, apName).leaf)
|
(VarModel(apName, bt, Chain.one(functorModel)), FlattenModel(v, apName).leaf)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user