Skip to content

Commit

Permalink
INCOMPLETE! use Info for Peek
Browse files Browse the repository at this point in the history
  • Loading branch information
peng committed Apr 21, 2021
1 parent ed04d93 commit 37f1180
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ allprojects {
// compileOnly(kotlin("stdlib"))
// compileOnly(kotlin("stdlib-jdk8"))

api("eu.timepit:singleton-ops_${vs.scalaBinaryV}:0.5.2") // used by all modules
// api("eu.timepit:singleton-ops_${vs.scalaBinaryV}:0.5.2") // used by all modules

// api("eu.timepit:singleton-ops_${vs.scalaBinaryV}:0.5.0+22-59783019+20200731-1305-SNAPSHOT")
api("eu.timepit:singleton-ops_${vs.scalaBinaryV}:0.5.2+50-630137bc-SNAPSHOT")

testImplementation("org.scalatest:scalatest_${vs.scalaBinaryV}:${vs.scalatestV}")
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ object InfoCT {

type ErrorMsg[T] = RequireMsg[FALSE.T, T]
type WarnMsg[T] = RequireMsgSym[FALSE.T, T, singleton.ops.Warn]
type InfoMsg[T] = RequireMsgSym[FALSE.T, T, singleton.ops.Info]

val REFUTE =
Witness("""¯\_(ツ)_/¯ """)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Reporters[

trait PeekReporter[IUB <: CanPeek, TGT <: scope.OUB with CanPeek] extends ProofReporter[IUB, TGT] {

override type ReportMsg[T] = WarnMsg[T]
override type ReportMsg[T] = InfoMsg[T]
}

trait ErrorReporter[IUB <: CanPeek, TGT <: scope.OUB with CanPeek] extends ProofReporter[IUB, TGT] {
Expand Down

0 comments on commit 37f1180

Please sign in to comment.