Skip to content

Commit

Permalink
missing override in DummyInstances.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed Apr 24, 2020
1 parent 045a760 commit c6e9602
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
package it.unibo.tuprolog.solve

import it.unibo.tuprolog.solve.channel.InputChannel
import it.unibo.tuprolog.solve.channel.OutputChannel
import it.unibo.tuprolog.solve.exception.PrologWarning
import it.unibo.tuprolog.solve.library.Libraries
import it.unibo.tuprolog.theory.ClauseDatabase

/**
* Utils singleton that contains dummy instances, to be used when in a test something is not important
*
Expand All @@ -18,5 +24,18 @@ object DummyInstances {
override val outputChannels: Nothing by lazy { throw NotImplementedError() }
override val substitution: Nothing by lazy { throw NotImplementedError() }
override val prologStackTrace: Nothing by lazy { throw NotImplementedError() }

override fun createSolver(
libraries: Libraries,
flags: PrologFlags,
staticKb: ClauseDatabase,
dynamicKb: ClauseDatabase,
stdIn: InputChannel<String>,
stdOut: OutputChannel<String>,
stdErr: OutputChannel<String>,
warnings: OutputChannel<PrologWarning>
): Solver {
throw NotImplementedError()
}
}
}

0 comments on commit c6e9602

Please sign in to comment.