dodyg/AndroidRivers — pull request #6 by svtk (2013-10-01 09:55:04+00:00)
Title: Fixed compilation for 'assignment in an expression context'

We prohibit things like
val a = while(b) { ... }
val b: Unit = c = 1
when statement appears in an expression context.

For function not block body it has worked so far (it was a bug actually).
This commit fixes a compilation.