From 9654d5149166464987b7f8aa6c6d2cae8cbb3ae6 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 6 May 2011 16:34:10 +0000 Subject: Tightened a condition to avoid a self-referenti... Tightened a condition to avoid a self-referential pattern variable crash. Closes #3392, no review. --- test/files/neg/bug3392.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/neg/bug3392.check (limited to 'test/files/neg/bug3392.check') diff --git a/test/files/neg/bug3392.check b/test/files/neg/bug3392.check new file mode 100644 index 0000000000..cbae73ad3a --- /dev/null +++ b/test/files/neg/bug3392.check @@ -0,0 +1,4 @@ +bug3392.scala:9: error: not found: value x + case x@A(x/*<-- refers to the pattern that includes this comment*/.Ex(42)) => + ^ +one error found -- cgit v1.2.3