Skip to content

Commit

Permalink
refactor: Make ProvideElaboraterBlock extend ElaboraterBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Feb 18, 2025
1 parent bc29d5c commit 6a3fa13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import chester.tyck.api.SemanticCollector
import chester.error.*
import chester.uniqid.*

trait ElaboraterFunction extends ProvideCtx with Elaborater {
trait ElaboraterFunction { this: ElaboraterBase & ElaboraterCommon =>
def elabFunction(
expr: FunctionExpr,
ty: CellId[Term],
Expand All @@ -19,7 +19,7 @@ trait ElaboraterFunction extends ProvideCtx with Elaborater {
): Term
}

trait ProvideElaboraterFunction extends ElaboraterFunction {
trait ProvideElaboraterFunction extends ElaboraterFunction { this: Elaborater & ElaboraterBase & ElaboraterCommon =>
// Flag to enable or disable termination checking
val terminationCheckEnabled: Boolean = true // Set to false to disable termination checking

Expand Down

0 comments on commit 6a3fa13

Please sign in to comment.