diff options
author | James Iry <jamesiry@gmail.com> | 2013-03-01 13:17:00 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-03-01 13:17:00 -0800 |
commit | 3b071358a99ea3f90fb08a5a6b0b36c608b06931 (patch) | |
tree | 27d07a5128eaa35f9edf24a9830f53042aaff422 /test/files/neg/eta-expand-star-deprecation.scala | |
parent | daa9c4114f3698833bfc06f5822bbfaa93b8fbf9 (diff) | |
download | scala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.tar.gz scala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.tar.bz2 scala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.zip |
SI-6816 Deprecate -Yeta-expand-keeps-star
This commit deprecates the -Yeta-expand-keeps-star flag. It was created
in 2.10 to help in the transition from 2.9 but by the time 2.11 comes
out it should no longer be necessary.
Diffstat (limited to 'test/files/neg/eta-expand-star-deprecation.scala')
-rw-r--r-- | test/files/neg/eta-expand-star-deprecation.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/eta-expand-star-deprecation.scala b/test/files/neg/eta-expand-star-deprecation.scala new file mode 100644 index 0000000000..5749692522 --- /dev/null +++ b/test/files/neg/eta-expand-star-deprecation.scala @@ -0,0 +1,8 @@ +object Test { + def f[T](xs: T*): Unit = () + def g[T] = f[T] _ + + def main(args: Array[String]): Unit = { + g(1, 2) + } +} |