Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on Locals are cryptic #4400

Closed
DanTup opened this issue Feb 22, 2023 · 2 comments
Closed

Errors on Locals are cryptic #4400

DanTup opened this issue Feb 22, 2023 · 2 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug relies on sdk changes Something that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Feb 22, 2023

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

@DanTup DanTup added is bug in debugger Relates to the debug adapter or process of launching a debug session relies on sdk changes Something that requires changes in the Dart/Flutter SDK to ship before it will become available labels Feb 22, 2023
@DanTup DanTup added this to the v3.60.0 milestone Feb 22, 2023
@DanTup
Copy link
Member Author

DanTup commented Feb 22, 2023

copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Feb 22, 2023
Fixes Dart-Code/Dart-Code#4400.

Change-Id: I46b36bcacdd0f8a33f296569fbc2e4ebece9d0f4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284701
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
@DanTup
Copy link
Member Author

DanTup commented Feb 22, 2023

Fixed by dart-lang/sdk@3d39175.

@DanTup DanTup closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug relies on sdk changes Something that requires changes in the Dart/Flutter SDK to ship before it will become available
Projects
None yet
Development

No branches or pull requests

1 participant