diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-12-08 14:03:05 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-12-14 12:34:00 -0800 |
commit | ca7bbcfb178c5a0c697a3cdd543e38f37b79f737 (patch) | |
tree | 0ed99623c891bf74cc118869ce3ac4ceaf9a29bc /test/files/neg/t10097.scala | |
parent | 9df6d16f9b303caa98feb2ccd179352bd646c101 (diff) | |
download | scala-ca7bbcfb178c5a0c697a3cdd543e38f37b79f737.tar.gz scala-ca7bbcfb178c5a0c697a3cdd543e38f37b79f737.tar.bz2 scala-ca7bbcfb178c5a0c697a3cdd543e38f37b79f737.zip |
SI-8704 Error on bad implicit sections
Instead of aborting when a class def has extra
parameter section, take all parameter sections
and sanity check the use of leading implicit
to indicate an implicit parameter section.
Diffstat (limited to 'test/files/neg/t10097.scala')
-rw-r--r-- | test/files/neg/t10097.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/t10097.scala b/test/files/neg/t10097.scala index 754e105359..b2f05e2972 100644 --- a/test/files/neg/t10097.scala +++ b/test/files/neg/t10097.scala @@ -1,5 +1,4 @@ case class C(implicit val c: Int) -// SI-8704 -//case class D(implicit c: Int)(s: String) +case class D(implicit c: Int)(s: String) |