Skip to content

Commit

Permalink
Implemented kernel recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellen Wittingen committed Sep 13, 2023
1 parent c426da7 commit 4e3e261
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/col/vct/col/ast/lang/CPPLambdaRefImpl.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package vct.col.ast.lang

import vct.col.ast.{CPPLambdaRef, TRef, Type}
import vct.col.print.{Ctx, Doc, Text}
import vct.col.resolve.ctx._

trait CPPLambdaRefImpl[G] { this: CPPLambdaRef[G] =>
override lazy val t: Type[G] = TRef()

override def layout(implicit ctx: Ctx): Doc = Text("lambda_ref")
}

0 comments on commit 4e3e261

Please sign in to comment.