mirror of
https://github.com/fluencelabs/hackethberlin
synced 2025-07-01 00:31:42 +00:00
Ref
This commit is contained in:
@ -5,5 +5,8 @@ sealed trait Expr[T <: types.Type] {
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user