diff options
author | Martin Odersky <odersky@gmail.com> | 2016-01-18 18:40:11 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-19 14:00:55 +0100 |
commit | 6ee8569e6bf14412dc924fe1379a544f263397ed (patch) | |
tree | ab4136a1b5174e5d557fa790c051cfaa86638922 /tests/pending | |
parent | a553296a6d32e062eed498241ae99bcc61c58529 (diff) | |
download | dotty-6ee8569e6bf14412dc924fe1379a544f263397ed.tar.gz dotty-6ee8569e6bf14412dc924fe1379a544f263397ed.tar.bz2 dotty-6ee8569e6bf14412dc924fe1379a544f263397ed.zip |
Fix problem of overloading resolution when receiver is not stable.
Diffstat (limited to 'tests/pending')
-rw-r--r-- | tests/pending/pos/overloaddefault.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pending/pos/overloaddefault.scala b/tests/pending/pos/overloaddefault.scala deleted file mode 100644 index ed539719d..000000000 --- a/tests/pending/pos/overloaddefault.scala +++ /dev/null @@ -1,15 +0,0 @@ -trait Scope -class MScope extends Scope - -case class CI(pre: Int, decls: Scope) { - def derivedCI(pre: Int) = new CI(pre, decls) - def derivedCI(pre: Int = this.pre, decls: Scope = this.decls) = new CI(pre, decls) -} - -object Test { - def ci = new CI(1, new MScope) - val decls1 = new MScope - ci.derivedCI(2, decls = decls1) - ci.derivedCI(pre = 2) - ci.derivedCI(decls = decls1) -} |