mirror of
https://github.com/fluencelabs/hackethberlin
synced 2025-04-25 01:12:18 +00:00
fix
This commit is contained in:
parent
275fcfd25c
commit
3c0d3599d1
@ -36,9 +36,9 @@ sealed trait LowPriorityDataVyperImplicits {
|
|||||||
data.toDataVyper :: Nil
|
data.toDataVyper :: Nil
|
||||||
}
|
}
|
||||||
|
|
||||||
implicit def funcDefDataVyper[Args <: HList, Ret <: types.Type]: DataVyper[FuncDef[Args, Ret]] =
|
implicit def funcDefDataVyper[Args <: HList, Ret <: types.Type, Params <: HList]: DataVyper[FuncDef[Args, Ret, Params]] =
|
||||||
new DataVyper[FuncDef[Args, Ret]] {
|
new DataVyper[FuncDef[Args, Ret, Params]] {
|
||||||
override def toVyperDefinitions(func: FuncDef[Args, Ret]): List[String] =
|
override def toVyperDefinitions(func: FuncDef[Args, Ret, Params]): List[String] =
|
||||||
func.toVyper :: Nil
|
func.toVyper :: Nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user