Skip to content

Commit d2a63fb

Browse files
committed
add plugin authors [CI SKIP]
1 parent 2212dc0 commit d2a63fb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

AUTHORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ The majority of the dotty codebase is new code, with the exception of the compon
7171
> the [compiler bridge in sbt 0.13](https://github.com/sbt/sbt/tree/0.13/compile/interface/src/main/scala/xsbt),
7272
> but has been heavily adapted and refactored.
7373
> Original authors were Mark Harrah, Grzegorz Kossakowski, Martin Duhemm, Adriaan Moors and others.
74+
75+
`dotty.tools.dotc.plugins`
76+
77+
> 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.

sbt-dotty/sbt-test/sbt-dotty/compiler-plugin/plugin/DivideZero.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DivideZero extends PluginPhase with StandardPlugin {
2727
def test(tpe: String): Boolean =
2828
(sym.owner eq ctx.requiredClass(tpe.toTermName)) && sym.name.show == "/"
2929

30-
test("scala.Int") || test("scala.Long") || test("scala.Short") || test("scala.FLoat") || test("scala.Double")
30+
test("scala.Int") || test("scala.Long") || test("scala.Short") || test("scala.Float") || test("scala.Double")
3131
}
3232

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

0 commit comments

Comments
 (0)