Skip to content

Cascade values index incorrect reference #80

@matthewnitschke-wk

Description

@matthewnitschke-wk

Given the following dart setup:

class Foo() {
  int bar;
}

void main() {
  final value = 1;
  Foo()..bar = value
}

running index/snapshot, results in:

    Foo()..near = value;
//  ^^^ reference scip-dart pub dart_test 1.0.0 lib/`other.dart`/Foo#
//                ^^^^^ reference scip-dart pub dart_test 1.0.0 lib/`other.dart`/Foo#near.

Cascade on primitives also ignores indexing on the value

    Foo()..value = false;
//  ^^^ reference scip-dart pub dart_test 1.0.0 lib/`other.dart`/Foo#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions