diff options
author | Nicolas Stucki <nicolas.stucki@gmail.com> | 2017-04-05 13:22:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 13:22:41 +0200 |
commit | 4f4e37325fb5160905b2ba9dcdb95994c791390b (patch) | |
tree | 4be896ad32f9ca7618d160e58f705e55c3d93088 /tests/pos/tailcall/return.scala | |
parent | 586113dab51d95f2a606c83b2cd31563ac47a6cf (diff) | |
parent | 176f40a6daccbd5365988e66d84e44cba818e64a (diff) | |
download | dotty-4f4e37325fb5160905b2ba9dcdb95994c791390b.tar.gz dotty-4f4e37325fb5160905b2ba9dcdb95994c791390b.tar.bz2 dotty-4f4e37325fb5160905b2ba9dcdb95994c791390b.zip |
Merge pull request #2025 from dotty-staging/fix-2024
Fix #2024: TypeApply can be a final apply of a recursive method.
Diffstat (limited to 'tests/pos/tailcall/return.scala')
-rw-r--r-- | tests/pos/tailcall/return.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/tailcall/return.scala b/tests/pos/tailcall/return.scala index 454686c3d..3724b5b32 100644 --- a/tests/pos/tailcall/return.scala +++ b/tests/pos/tailcall/return.scala @@ -1,4 +1,4 @@ -object Test { +object Return { def foo(x: Int): Int = return 3 |