Move a warning on -optimize to CONTRIBUTING.md (Fixes #22932) (#23089)

This commit is contained in:
Richard Imaoka 2017-06-07 17:42:42 +09:00 committed by Arnout Engelen
parent 3a28584f77
commit 711c0ff027
2 changed files with 6 additions and 10 deletions

View file

@ -137,6 +137,11 @@ project akka-cluster
multi-jvm:testOnly akka.cluster.SunnyWeather
```
### Do not use `-optimize` Scala compiler flag
Akka has not been compiled or tested with `-optimize` Scala compiler flag. (In sbt, you can specify compiler options in the `scalacOptions` key.)
Strange behavior has been reported by users that have tried it.
## The `validatePullRequest` task
The Akka build includes a special task called `validatePullRequest` which investigates the changes made as well as dirty

View file

@ -25,13 +25,4 @@ We will only be able to seamlessly integrate all functional interfaces once
we can rely on Scala 2.12 to provide full interoperability—this will mean that
Scala users can directly implement Java Functional Interfaces using lambda syntax
as well as that Java users can directly implement Scala functions using lambda
syntax.
## Do not use -optimize Scala compiler flag
@@@ warning
Akka has not been compiled or tested with -optimize Scala compiler flag.
Strange behavior has been reported by users that have tried it.
@@@
syntax.