File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ http://www.scala-lang.org/sites/default/files/contributor_agreement.pdf
13
13
Before submitting a pull-request, please make sure you have followed the guidelines
14
14
outlined in our [ Pull Request Policy] ( https://github.com/scala/scala/wiki/Pull-Request-Policy ) .
15
15
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
17
23
18
24
``` scala
19
25
val future = async {
Original file line number Diff line number Diff line change @@ -138,12 +138,6 @@ difficult to understand.
138
138
b) completes the result Promise of the async block, if at the terminal state.
139
139
- an ` apply(): Unit ` method that starts the computation.
140
140
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
-
147
141
## Limitations
148
142
- See the [ neg] ( https://github.com/scala/async/tree/master/src/test/scala/scala/async/neg ) test cases for
149
143
for constructs that are not allowed in a async block
You can’t perform that action at this time.
0 commit comments