#3018 - Enabling -Xlint and dealing with the situation that occurs
This commit is contained in:
parent
88f7e28c6b
commit
c883705242
75 changed files with 249 additions and 275 deletions
|
|
@ -50,7 +50,7 @@ class DataflowDocSpec extends WordSpec with MustMatchers {
|
|||
val v1, v2 = Promise[Int]()
|
||||
flow {
|
||||
// v1 will become the value of v2 + 10 when v2 gets a value
|
||||
v1 << v2() + 10
|
||||
v1 << 10 + v2()
|
||||
v1() + v2()
|
||||
} onComplete println
|
||||
flow { v2 << 5 } // As you can see, no blocking above!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue