From 8ebe8e3e885f23d2a4c21a87e4dfcc07a7b3583a Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Mon, 6 Aug 2012 00:08:15 +0200 Subject: SI-5739 (bis) vals for subpatterns unless -optimize To facilitate debugging pattern matches, we store the values for sub-patterns of extractor (synthetic or user-defined) patterns in local variables. When performing an optimized build, and when possible, we don't do store but inline them directly. For soundness, SI-5158, SI-6070, we must always store the values of mutable case class fields. (Specifying -optimize is the only way to suppress emitting these local variables. An unoptimized build will always generate them, which was deemed the right default during the meeting.) (updated flags for t4425 to get consistent runs on optimized and non-optimized partest runs by always passing -optimize) --- test/files/neg/t4425.flags | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/t4425.flags (limited to 'test/files/neg/t4425.flags') diff --git a/test/files/neg/t4425.flags b/test/files/neg/t4425.flags new file mode 100644 index 0000000000..1182725e86 --- /dev/null +++ b/test/files/neg/t4425.flags @@ -0,0 +1 @@ +-optimize \ No newline at end of file -- cgit v1.2.3