sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Create members getter doesn't calculate the expected type from a switch expression

Open FMorschel opened this issue 2 weeks ago • 1 comments

Repro:

class A {
  void foo() {
    int v = switch (1) {
      _ => getter,
    };
  }
}

I'll take a look at this one.

CC @bwilkerson @srawlins

FMorschel avatar Nov 26 '25 20:11 FMorschel