forked fromwartremover/wartremover
- Notifications
You must be signed in to change notification settings - Fork0
Randgalt/wartremover
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WartRemover is a flexible Scala code linting tool.
Documentation for Wartremover is availablehere.
It's very useful to get the tree expanded by the Scala compiler,rather than the original source. Adding the-Xprint:typer
flag tothe Scala compiler will show code like the following:
// println("Hello world")package$line4 {object$readextends scala.AnyRef {def<init>(): $line4.$read.type= { $read.super.<init>(); () };object$iwextends scala.AnyRef {def<init>():type= { $iw.super.<init>(); () };object$iwextends scala.AnyRef {def<init>():type= { $iw.super.<init>(); () };private[this]valres1:Unit= scala.this.Predef.println("Hello world"); <stable> <accessor>defres1:Unit= $iw.this.res1 } } }}
Adding the generated code to an issue is very useful for debugging.
About
Flexible Scala code linting tool
Resources
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Scala86.7%
- Shell13.3%