Skip to content

Commit bf19080

Browse files
liufengyunallanrenucci
authored andcommitted
address review
1 parent df9b52e commit bf19080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/reference/changed/compiler-plugins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ two notable changes:
1313
normal type checking. This is a nice feature for doing research, but for
1414
production usage, a predictable and consistent type checker is more important.
1515

16-
For experiments and researches that depend on analyzer plugins in Scalac,
16+
For experiments and researches that rely on analyzer plugins in Scalac,
1717
_research plugin_ can be used for the same purpose in Dotty. Research plugins
1818
are more powerful than Scalac analyzers as it enables plugin authors to
1919
customize the whole compiler pipeline. That means, you can easily use your
2020
customized typer to replace the standard typer, or roll your own parser for
2121
your domain-specific language. Research plugins are only enabled for nightly or
2222
snaphot releases of Dotty.
2323

24-
The common plugins that add a new phase to the compiler pipeline are called
24+
The common plugins that add new phases to the compiler pipeline are called
2525
_standard plugins_ in Dotty. In terms of features, they are similar to
2626
Scalac plugins, despite minor changes in the API.
2727

@@ -44,7 +44,7 @@ pluginClass=dividezero.DivideZero
4444
```
4545

4646
The above is a change from Scalac, which depends on an XML file
47-
`scalac-plugin.xml`. Since SBT 1.1.5, SBT also supports Dotty compiler plugins:
47+
`scalac-plugin.xml`. Starting from 1.1.5, SBT also supports Dotty compiler plugins:
4848

4949
```Scala
5050
addCompilerPlugin("org.divbyzero" % "divbyzero" % "1.0")

0 commit comments

Comments
 (0)