// "Replace 'switch' with 'if'" "true-preview"
class Test {
  void f(int n, int k) {
      if (n == 0) {
          if (k == 0) return; //this comment causes the exception IDEA-204717
          if (k == 1) {
          }
      }
  }
}