Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

neme - not exhaustive match error

Build Status Maven Central

Scala compiler plugin for turning non exhaustive match warnings into errors

This plugin is heavily inspired by silencer-plugin

Published for Scala 2.11, 2.12 and 2.13.

Deprecation notice

Since scala 2.13.2 there is a new flag - -Wconf which covers that functionality making this project obsolote.

See https://github.com/scala/scala/pull/8373

Usage

If you're using SBT, simply add these lines to your build.sbt to enable the plugin:

libraryDependencies ++= Seq(
  compilerPlugin("com.softwaremill.neme" %% "neme-plugin" % "0.0.5")
)

Or in ~/.sbt/1.0/*.sbt:

addCompilerPlugin("com.softwaremill.neme" %% "neme-plugin" % "0.0.5")

About

Scala compiler plugin for turning non exhaustive match warnings into errors

Resources

License

Packages

No packages published
You can’t perform that action at this time.