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

Cleanup record types display #2070

Merged
merged 16 commits into from
Apr 22, 2023
Merged

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Apr 4, 2023

Handle RecordType instances:

  • create instances with InstanceKind.kRecordType.
  • wrap field types so we can display them concisely.
  • add tests.

Closes: #2065

@annagrin annagrin requested review from elliette and nshahan and removed request for elliette April 4, 2023 01:52
@nshahan
Copy link
Contributor

nshahan commented Apr 4, 2023

This looks like only test files are included right now. From the description it sounds like there should be some implementation. Is that expected?

dwds/CHANGELOG.md Outdated Show resolved Hide resolved
@annagrin
Copy link
Contributor Author

annagrin commented Apr 4, 2023

This looks like only test files are included right now. From the description it sounds like there should be some implementation. Is that expected?

Implementation is included as well (see debugging directory)

@@ -64,7 +64,17 @@ class TestInspector {

expect(result, isA<Instance>());
final instance = result as Instance;
expect(instance.kind, instanceKind);

// TODO(annagrin): we sometimes get mismatching reference
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open a bug with details to track?

Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending @nshahan's review!

@annagrin annagrin merged commit 8b42c95 into dart-lang:master Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Record types is too verbose in chrome vs. VM
3 participants