Skip to content

Commit

Permalink
move files
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Oct 26, 2024
1 parent eef6223 commit 49eb507
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package chester.tyck

import chester.syntax.accociativity.OperatorsContext
import chester.syntax.*
import chester.syntax.core.*
import chester.syntax.Name
import chester.tyck.BuiltIn.BuiltinItem
import chester.tyck.api.SymbolCollector
import chester.utils.propagator.*
import chester.uniqid.*
import chester.utils.propagator.*

trait ProvideCtx extends ProvideCellId with ElaboraterBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import chester.resolve.{SimpleDesalt, resolveOpSeq}
import chester.syntax.Name
import chester.syntax.concrete.*
import chester.syntax.core.*
import chester.uniqid.*
import chester.utils.*
import chester.utils.propagator.CommonPropagator
import chester.uniqid.*

trait ElaboraterCommon extends ProvideCtx with ElaboraterBase with CommonPropagator[Tyck] {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ package chester.tyck
import chester.error.TyckProblem

given ckToReport(using ck: Tyck): Reporter[TyckProblem] = ck.reporter

type Tyck = Get[TyckProblem, Unit]
2 changes: 0 additions & 2 deletions tyck/src/main/scala/chester/tyck/Elaborater.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import scala.language.implicitConversions
import scala.util.boundary
import scala.util.boundary.break

type Tyck = Get[TyckProblem, Unit]

trait Elaborater extends ProvideCtx with ElaboraterCommon {

def checkType(expr: Expr)(using
Expand Down

0 comments on commit 49eb507

Please sign in to comment.