mirror of
https://github.com/fluencelabs/hackethberlin
synced 2025-04-25 01:12:18 +00:00
Ref
This commit is contained in:
parent
d0dbaa71f7
commit
aa725a41ba
@ -5,5 +5,8 @@ sealed trait Expr[T <: types.Type] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
object Expr {
|
object Expr {
|
||||||
case class Ref[T]()
|
case class Ref[T <: types.Type](name: String) extends Expr[T] {
|
||||||
|
override def toVyper(depth: Int): String =
|
||||||
|
(" " * depth) + name
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user