mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-09-27 06:54:33 +00:00
enable fatal warnings
This commit is contained in:
parent
5dc8d894fa
commit
985532c92e
@ -10,13 +10,13 @@ package com.htmlism.nescant
|
||||
case class ReadWriteLocation[A](name: String, address: ZeroPageAddress)
|
||||
|
||||
object ReadWriteLocation {
|
||||
implicit def sourceForReadWriteLocation[A: Operand]: ByteSource[ReadWriteLocation[A]] =
|
||||
implicit def sourceForReadWriteLocation[A]: ByteSource[ReadWriteLocation[A]] =
|
||||
new ByteSource[ReadWriteLocation[A]] {}
|
||||
|
||||
implicit def sinkForReadWriteLocation[A: Operand]: ByteSink[ReadWriteLocation[A]] =
|
||||
implicit def sinkForReadWriteLocation[A]: ByteSink[ReadWriteLocation[A]] =
|
||||
new ByteSink[ReadWriteLocation[A]] {}
|
||||
|
||||
implicit def operandForReadWriteLocation[A: Operand]: Operand[ReadWriteLocation[A]] =
|
||||
implicit def operandForReadWriteLocation[A]: Operand[ReadWriteLocation[A]] =
|
||||
new Operand[ReadWriteLocation[A]] {
|
||||
def encode(x: ReadWriteLocation[A]): String = ""
|
||||
}
|
||||
|
@ -14,10 +14,10 @@ package com.htmlism.nescant
|
||||
case class VolatileDevice[A](name: String, address: ZeroPageAddress)
|
||||
|
||||
object VolatileDevice {
|
||||
implicit def sourceForVolatileDevice[A: Operand]: ByteSource[VolatileDevice[A]] =
|
||||
implicit def sourceForVolatileDevice[A]: ByteSource[VolatileDevice[A]] =
|
||||
new ByteSource[VolatileDevice[A]] {}
|
||||
|
||||
implicit def operandForVolatileDevice[A: Operand]: Operand[VolatileDevice[A]] =
|
||||
implicit def operandForVolatileDevice[A]: Operand[VolatileDevice[A]] =
|
||||
new Operand[VolatileDevice[A]] {
|
||||
def encode(x: VolatileDevice[A]): String = ""
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ package object dsl {
|
||||
}
|
||||
|
||||
implicit class SinkOps[A: ByteSink](x: A) {
|
||||
def write[B: ByteSource](src: B): Unit = {
|
||||
def write[B](src: B): Unit = {
|
||||
val _ = src
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
|
||||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.20")
|
||||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
|
||||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
|
||||
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.4.17")
|
||||
|
Loading…
Reference in New Issue
Block a user