Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing recursion alert #11614

Open
som-snytt opened this issue Jul 6, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@som-snytt
Copy link

commented Jul 6, 2019

Self-recursive and self-explanatory:

scala> val x: Int = x
                    ^
       warning: value x does nothing other than call itself recursively
x: Int = 0

scala> def x(): Int = x
x: ()Int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.