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

@tailrec is also bad #215

Closed
valtih1978 opened this issue Mar 19, 2015 · 1 comment
Closed

@tailrec is also bad #215

valtih1978 opened this issue Mar 19, 2015 · 1 comment

Comments

@valtih1978
Copy link

@tailrec kills error reporting likewise unspecified overriding does. Once I add this attribute, code stops execuing in worksheet.

object o2 {
    @tailrec def f {if (false) f}
    1
}

Environment is the same.

@kiritsuku
Copy link
Member

Actually, this is a duplicate of #214. It seems to me that it doesn't matter how you create an error, the only thing that matters is that an error exists and that the worksheet doesn't show it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants