summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-10-10 16:02:17 +1000
committerJason Zaugg <jzaugg@gmail.com>2014-10-10 16:05:29 +1000
commit5f6663ee19a95289b5466dab6b1caa92c579bc73 (patch)
tree3498424c11b08002652c03ff7fe55f10790affbb /test/pending
parent22233f40f641815fe7b9304bb386ee27c8422603 (diff)
downloadscala-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')
-rw-r--r--test/pending/pos/t5091.scala11
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)
- }
-
-}