From a47acbc36d312cc12ab02f4564edff1deb93d941 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 24 Apr 2012 18:40:12 +0200 Subject: copy BackQuotedIdent trees (don't copy as Ident) typer synthesized the wrong isDefinedAt method in typedMatchAnon because a BackQuotedIdent was copied as an Ident, so that the equality check was performed in applyOrElse (since it operates on the original tree), but not in isDefinedAt (since it operates on the copy, which collapsed Ident and BackQuotedIdent) --- test/files/run/virtpatmat_partial_backquoted.check | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/run/virtpatmat_partial_backquoted.check (limited to 'test/files/run/virtpatmat_partial_backquoted.check') diff --git a/test/files/run/virtpatmat_partial_backquoted.check b/test/files/run/virtpatmat_partial_backquoted.check new file mode 100644 index 0000000000..8ab8f29677 --- /dev/null +++ b/test/files/run/virtpatmat_partial_backquoted.check @@ -0,0 +1 @@ +Set(You got me!) -- cgit v1.2.3