Skip to content

Some errors on creating getter/setters/mixin at record field #60826

Open
@FMorschel

Description

@FMorschel

Repro:

extension on int {
  (bool, bool, {int v, int v2}) get record => (
    myBool,
    myBool2(),
    v: v,
    v2: v2(),
  );
}

Results:

  • On stable, we get Create getter but not on master
  • The generated getter/method doesn't calculate the expected return type
  • At the non-invocation cases, we also get a Create mixin

I'll take a look into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-quick-fixIssues with analysis server (quick) fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions