mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
try different fix
This commit is contained in:
parent
66bcd39abe
commit
a991e1bf0a
@ -292,8 +292,7 @@ case class ClosureTag(
|
|||||||
override def renameExports(map: Map[String, String]): RawTag =
|
override def renameExports(map: Map[String, String]): RawTag =
|
||||||
copy(func =
|
copy(func =
|
||||||
func.copy(
|
func.copy(
|
||||||
name = map.getOrElse(func.name, func.name),
|
name = map.getOrElse(func.name, func.name)
|
||||||
arrow = func.arrow.copy(ret = func.arrow.ret.map(_.renameVars(map)))
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -301,6 +300,7 @@ case class ClosureTag(
|
|||||||
copy(
|
copy(
|
||||||
func.copy(arrow =
|
func.copy(arrow =
|
||||||
func.arrow.copy(
|
func.arrow.copy(
|
||||||
|
ret = func.arrow.ret.map(_.map(f)),
|
||||||
body = func.arrow.body.map(_.mapValues(f))
|
body = func.arrow.body.map(_.mapValues(f))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user