#3018 - Enabling -Xlint and dealing with the situation that occurs

This commit is contained in:
Viktor Klang 2013-03-28 23:45:48 +01:00
parent 88f7e28c6b
commit c883705242
75 changed files with 249 additions and 275 deletions

View file

@ -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!