diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-04-19 10:56:04 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-04-21 10:53:47 +0200 |
commit | d20314fd9a741e1a3203dbacf0080e9e923559ca (patch) | |
tree | 6a8f7b94251bab243062349b5fa688b55bd709ae /tests/neg | |
parent | 7cd8257730563d4b8671b2d342d35a5952119205 (diff) | |
download | dotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.tar.gz dotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.tar.bz2 dotty-d20314fd9a741e1a3203dbacf0080e9e923559ca.zip |
Fix test failures in tailcall due to name clashes.
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/tailcall/i1221.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/tailcall/i1221.scala b/tests/neg/tailcall/i1221.scala index 5c3286e97..7cf9312f5 100644 --- a/tests/neg/tailcall/i1221.scala +++ b/tests/neg/tailcall/i1221.scala @@ -1,6 +1,6 @@ import annotation.tailrec -object Test{ +object I1221{ final def foo(a: Int): Int = { if ((foo(a - 1): @tailrec) > 0) // error: not in tail position foo(a - 1): @tailrec |