aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/tailcall
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2016-04-19 10:56:04 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2016-04-21 10:53:47 +0200
commitd20314fd9a741e1a3203dbacf0080e9e923559ca (patch)
tree6a8f7b94251bab243062349b5fa688b55bd709ae /tests/pos/tailcall
parent7cd8257730563d4b8671b2d342d35a5952119205 (diff)
downloaddotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.tar.gz
dotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.tar.bz2
dotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.zip
Fix test failures in tailcall due to name clashes.
Diffstat (limited to 'tests/pos/tailcall')
-rw-r--r--tests/pos/tailcall/i1221.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/tailcall/i1221.scala b/tests/pos/tailcall/i1221.scala
index 80dcfdc4b..ba1dbc4a9 100644
--- a/tests/pos/tailcall/i1221.scala
+++ b/tests/pos/tailcall/i1221.scala
@@ -1,6 +1,6 @@
import annotation.tailrec
-object Test{
+object i1221{
final def foo(a: Int): Int = {
if (foo(a - 1) > 0)
foo(a - 1): @tailrec