From df3cae79e7fb40b24b40bcd7a59cbd6b37247e92 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 26 Apr 2013 20:40:10 -0700 Subject: SI-7426 Crash in pickler. I wonder if the supply of copy-pasted code, and the bugs which always accompany it, will ever run low. Here we have a couple hundred lines of tree traversal which appears roughly identical in structure to a different couple hundred lines of tree traversal, except one calls methods called putXXX and the other calls methods called writeXXX. Except there was one call to writeXXX among all the putXXX calls. Guess where it was crashing. This entire file should be expunged. --- test/files/pos/t7426.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/pos/t7426.scala (limited to 'test') diff --git a/test/files/pos/t7426.scala b/test/files/pos/t7426.scala new file mode 100644 index 0000000000..8e42ad1812 --- /dev/null +++ b/test/files/pos/t7426.scala @@ -0,0 +1,3 @@ +class foo(x: Any) extends annotation.StaticAnnotation + +@foo(new AnyRef { }) trait A -- cgit v1.2.3