Skip to content

Commit

Permalink
add plugin authors [CI SKIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
liufengyun committed Mar 20, 2018
1 parent 2212dc0 commit d2a63fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ The majority of the dotty codebase is new code, with the exception of the compon
> the [compiler bridge in sbt 0.13](https://github.com/sbt/sbt/tree/0.13/compile/interface/src/main/scala/xsbt),
> but has been heavily adapted and refactored.
> Original authors were Mark Harrah, Grzegorz Kossakowski, Martin Duhemm, Adriaan Moors and others.
`dotty.tools.dotc.plugins`

> Adapted from [scala/scala](https://github.com/scala/scala) with some modifications. They were originally authored by Lex Spoon, Som Snytt, Adriaan Moors, Paul Phillips and others.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DivideZero extends PluginPhase with StandardPlugin {
def test(tpe: String): Boolean =
(sym.owner eq ctx.requiredClass(tpe.toTermName)) && sym.name.show == "/"

test("scala.Int") || test("scala.Long") || test("scala.Short") || test("scala.FLoat") || test("scala.Double")
test("scala.Int") || test("scala.Long") || test("scala.Short") || test("scala.Float") || test("scala.Double")
}

override def transformApply(tree: tpd.Apply)(implicit ctx: Context): tpd.Tree = tree match {
Expand Down

0 comments on commit d2a63fb

Please sign in to comment.