diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-08 06:56:45 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-08 06:56:45 +0000 |
commit | 5b11f250ce650b8c66134e6ae6a9f48b3c82f64a (patch) | |
tree | 79cbf7ce3b6c30da09b6fd61493ca6872eaa4871 /pull-binary-libs.sh | |
parent | 8b28292b5379a34fad0599335116b9e54ee44e20 (diff) | |
download | scala-5b11f250ce650b8c66134e6ae6a9f48b3c82f64a.tar.gz scala-5b11f250ce650b8c66134e6ae6a9f48b3c82f64a.tar.bz2 scala-5b11f250ce650b8c66134e6ae6a9f48b3c82f64a.zip |
When I tried to remove the old for comprehensio...
When I tried to remove the old for comprehension syntax in r24958, I
managed to instead only remove the deprecation warnings. No wonder it
went so smoothly. Sorry to get your hopes up only to execute you, old
syntax. Now the for comprehensions have to get it right:
for (x <- 1 to 5 ; y = x) yield x+y // nope
for (val x <- 1 to 5 ; y = x) yield x+y // nope
for (val x <- 1 to 5 ; val y = x) yield x+y // nope
for (x <- 1 to 5 ; val y = x) yield x+y // that's the one
No review.
Diffstat (limited to 'pull-binary-libs.sh')
0 files changed, 0 insertions, 0 deletions