diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-10-10 16:02:17 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-10-10 16:05:29 +1000 |
commit | 5f6663ee19a95289b5466dab6b1caa92c579bc73 (patch) | |
tree | 3498424c11b08002652c03ff7fe55f10790affbb /test/pending/pos | |
parent | 22233f40f641815fe7b9304bb386ee27c8422603 (diff) | |
download | scala-5f6663ee19a95289b5466dab6b1caa92c579bc73.tar.gz scala-5f6663ee19a95289b5466dab6b1caa92c579bc73.tar.bz2 scala-5f6663ee19a95289b5466dab6b1caa92c579bc73.zip |
SI-5091 Move named-args cycle test from pending to neg
There is a typechecking cycle, and since 4669ac180e5 we now report
this in a clearer manner.
Once we change the language to unconditionally interpret an
assignent in argument position as a named argument would be the
only way to get this over to `pos`.
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t5091.scala | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/pending/pos/t5091.scala b/test/pending/pos/t5091.scala deleted file mode 100644 index 217e83f66d..0000000000 --- a/test/pending/pos/t5091.scala +++ /dev/null @@ -1,11 +0,0 @@ -object RecursiveValueNeedsType { - - def foo(param: String) = 42 - def bar(n: Int) = 42 - - { - val xxx = foo(param = null) - val param = bar(xxx) - } - -} |