From 6ff756b7874fffe9cfe260be1b35536d48f88db2 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Tue, 17 Sep 2013 12:52:53 -0700 Subject: SI-7848 Xlint says what looks interpolated The motivating use case was an Expecty debug string getting flagged for `$eq`. The test case demonstrates a different bug, in which the position of the literal tree is changed when typer gets rid of the unused local, so that when the tree is re-typed in erasure, a second, spurious warning is emitted at the start of the method. Specifically, the second warning is not suppressed because of the different position. --- test/files/neg/t7848-interp-warn.flags | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/t7848-interp-warn.flags (limited to 'test/files/neg/t7848-interp-warn.flags') diff --git a/test/files/neg/t7848-interp-warn.flags b/test/files/neg/t7848-interp-warn.flags new file mode 100644 index 0000000000..7949c2afa2 --- /dev/null +++ b/test/files/neg/t7848-interp-warn.flags @@ -0,0 +1 @@ +-Xlint -Xfatal-warnings -- cgit v1.2.3