Skip to content

Commit 5f1aec0

Browse files
committed
Update documentation
1 parent 1c8a3bd commit 5f1aec0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CONTRIBUTING.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ http://www.scala-lang.org/sites/default/files/contributor_agreement.pdf
1313
Before submitting a pull-request, please make sure you have followed the guidelines
1414
outlined in our [Pull Request Policy](https://github.com/scala/scala/wiki/Pull-Request-Policy).
1515

16-
### Generated Code examples
16+
## Troubleshooting
17+
- Logging of the transform can be enabled with `scalac -Dscala.async.debug=true`.
18+
- Tracing of the ANF transform: `scalac -Dscala.async.trace=true`
19+
- Debug the macro expansion by checking out the project and executing the application
20+
[`scala.async.TreeInterrogation`](https://github.com/scala/async/blob/master/src/test/scala/scala/async/TreeInterrogation.scala#L59)
21+
22+
## Generated Code examples
1723

1824
```scala
1925
val future = async {

README.md

-6
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@ difficult to understand.
138138
b) completes the result Promise of the async block, if at the terminal state.
139139
- an `apply(): Unit` method that starts the computation.
140140

141-
## Troubleshooting
142-
- Logging of the transform can be enabled with `scalac -Dscala.async.debug=true`.
143-
- Tracing of the ANF transform: `scalac -Dscala.async.trace=true`
144-
- Debug the macro expansion by checking out the project and executing the application
145-
[`scala.async.TreeInterrogation`](https://github.com/scala/async/blob/master/src/test/scala/scala/async/TreeInterrogation.scala#L59)
146-
147141
## Limitations
148142
- See the [neg](https://github.com/scala/async/tree/master/src/test/scala/scala/async/neg) test cases for
149143
for constructs that are not allowed in a async block

0 commit comments

Comments
 (0)