summaryrefslogtreecommitdiff
path: root/test/files/neg/t7848-interp-warn.flags
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2014-08-02 14:24:54 -0700
committerSom Snytt <som.snytt@gmail.com>2014-08-12 08:41:14 -0700
commit2e3583b3644f3acd67933b54b9b61e6d60e9b6bb (patch)
tree44b86f84a504f109e3c524a98a92babc50c7af5e /test/files/neg/t7848-interp-warn.flags
parent7a6947487dc8ea551ff7489b07cc30366b39d25e (diff)
downloadscala-2e3583b3644f3acd67933b54b9b61e6d60e9b6bb.tar.gz
scala-2e3583b3644f3acd67933b54b9b61e6d60e9b6bb.tar.bz2
scala-2e3583b3644f3acd67933b54b9b61e6d60e9b6bb.zip
SI-8512 Infer a type for f"$args"
The f-interpolator gets a type param that better be Any to avoid unfortunate widenings. Hey, it worked! Unfortunately, when `Any` is inferred, `-Xlint:infer-any` takes notice. This is probably a greater problem for the f-interpolator than for quasiquotes, which are a more specialized tool.
Diffstat (limited to 'test/files/neg/t7848-interp-warn.flags')
-rw-r--r--test/files/neg/t7848-interp-warn.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t7848-interp-warn.flags b/test/files/neg/t7848-interp-warn.flags
index 7949c2afa2..b0d7bc25cb 100644
--- a/test/files/neg/t7848-interp-warn.flags
+++ b/test/files/neg/t7848-interp-warn.flags
@@ -1 +1 @@
--Xlint -Xfatal-warnings
+-Xlint:missing-interpolator -Xfatal-warnings