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

NestedBlockDepth false negative #2085

Closed
BraisGabin opened this issue Nov 14, 2019 · 1 comment · Fixed by #2086
Closed

NestedBlockDepth false negative #2085

BraisGabin opened this issue Nov 14, 2019 · 1 comment · Fixed by #2086
Milestone

Comments

@BraisGabin
Copy link
Member

NestedBlockDepth should find an issue here:

    fun procedure(n: Int) {
        if (true) {
            if (true) {
            } else if (true) {
                if (true) {
                    if (true) {
                        if (true) { 
                            if (true) { 
                                if (true) {
                                }
                            }
                        }
                    }
                }
            }
        }
    }

But it doesn't. It seems that the if else is breaking something.

@schalkms
Copy link
Member

Thanks for quickly fixing this!!

@arturbosch arturbosch added this to the 1.2.0 milestone Nov 16, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants