diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-20 01:40:10 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-20 01:40:10 -0800 |
commit | e78473e3e84aab88c3839c7d6828f2a1395a7968 (patch) | |
tree | 28b28efb7b660f1c09ea0a02937b6ff0e466cfc5 /test/files/pos | |
parent | fc82bc69f1553f0b8def4a50240052366b37b411 (diff) | |
parent | b53c35c0660527a978dc44ea49fd66766e1a126d (diff) | |
download | scala-e78473e3e84aab88c3839c7d6828f2a1395a7968.tar.gz scala-e78473e3e84aab88c3839c7d6828f2a1395a7968.tar.bz2 scala-e78473e3e84aab88c3839c7d6828f2a1395a7968.zip |
Merge pull request #1788 from retronym/ticket/6848
Implicit vars should have non-implicit setters.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/setter-not-implicit.flags | 1 | ||||
-rw-r--r-- | test/files/pos/setter-not-implicit.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/setter-not-implicit.flags b/test/files/pos/setter-not-implicit.flags new file mode 100644 index 0000000000..792c40565b --- /dev/null +++ b/test/files/pos/setter-not-implicit.flags @@ -0,0 +1 @@ +-feature -Xfatal-warnings
\ No newline at end of file diff --git a/test/files/pos/setter-not-implicit.scala b/test/files/pos/setter-not-implicit.scala new file mode 100644 index 0000000000..9bfffc2ceb --- /dev/null +++ b/test/files/pos/setter-not-implicit.scala @@ -0,0 +1,3 @@ +object O { + implicit var x: Int = 0 +} |