Skip to content

Errors on Locals are cryptic #4400

@DanTup

Description

@DanTup
import 'dart:developer';

void main() {
  final a = A();
  final b = B();
  debugger();
}

class A {
  final b = B();
}

class B {
  String toString() => throw UnimplementedError('NYI');
}

Screenshot 2023-02-22 at 15 31 55

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions