From 1c4a348aa34ec08d4a75dad3536b656d4c93994e Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Wed, 1 Sep 2010 14:22:13 +0000 Subject: Merged revisions 22722,22732,22775-22776,22779-... Merged revisions 22722,22732,22775-22776,22779-22780,22785-22786,22825-22827,22844-22845 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r22722 | rytz | 2010-08-10 13:46:49 +0200 (Tue, 10 Aug 2010) | 1 line fix an msil bug (code gen of exception handlers). no review. ........ r22732 | rytz | 2010-08-11 14:32:07 +0200 (Wed, 11 Aug 2010) | 1 line Correct fix for see #3726. no review, discussed with martin. ........ r22775 | rytz | 2010-08-16 19:29:36 +0200 (Mon, 16 Aug 2010) | 1 line doc comment for scala package. (did not add comment on currentThread because of see #3762). close #3750, no review. ........ r22776 | rytz | 2010-08-16 19:29:40 +0200 (Mon, 16 Aug 2010) | 1 line documentation for scala.Array. thanks for the patches! close #3751, no review. ........ r22779 | rytz | 2010-08-16 19:35:07 +0200 (Mon, 16 Aug 2010) | 1 line use arraycopy instead of Array.copy in ArrayBuffer's sizeHint. close #3766, review by extempore. ........ r22780 | rytz | 2010-08-16 20:40:54 +0200 (Mon, 16 Aug 2010) | 3 lines Revert ArrayBuffer's sizeHint as I had a typo anyway and it needs more thinking. see #3766, see #3767. This reverts commit bf87118d701df2313a9f680e327ce066765c10d3. ........ r22785 | rytz | 2010-08-17 16:43:22 +0200 (Tue, 17 Aug 2010) | 1 line use arraycopy not Array.copy in Arraybuffer.sizeHint. close #3766, #3767. no review. ........ r22786 | rytz | 2010-08-17 19:15:08 +0200 (Tue, 17 Aug 2010) | 1 line better fix for see #3667. not all objects are serializable, only companions of case classes or other serializable classes. review by polcinic. ........ r22825 | rytz | 2010-08-23 15:17:00 +0200 (Mon, 23 Aug 2010) | 1 line test for #3667. no review ........ r22826 | rytz | 2010-08-23 15:17:03 +0200 (Mon, 23 Aug 2010) | 1 line test for see #3769. no review. ........ r22827 | rytz | 2010-08-23 15:17:06 +0200 (Mon, 23 Aug 2010) | 1 line in refchecks, visit the qualifier of irrefutable filters. close #3773. review by moors. ........ r22844 | rytz | 2010-08-26 16:35:02 +0200 (Thu, 26 Aug 2010) | 1 line documentation for scala.xml.pull, contribution by Dave Copeland. close #3786, no review. ........ r22845 | rytz | 2010-08-26 16:35:05 +0200 (Thu, 26 Aug 2010) | 1 line documentation for scala.collection package, contribution by Dave Copeland. close #3793, no review. ........ --- test/files/neg/t3773.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/neg/t3773.scala (limited to 'test/files/neg/t3773.scala') diff --git a/test/files/neg/t3773.scala b/test/files/neg/t3773.scala new file mode 100644 index 0000000000..3b92ed2d23 --- /dev/null +++ b/test/files/neg/t3773.scala @@ -0,0 +1,5 @@ +object t { + val m = Map(1 -> "one") + for ((v, t) <- m.elements) () +} + -- cgit v1.2.3