8000 [Null-aware elements] Language Tests in tests/language · Issue #55927 · dart-lang/sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Null-aware elements] Language Tests in tests/language #55927

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

Closed
Tracked by #55949
chloestefantsova opened this issue Jun 4, 2024 · 1 comment
Closed
Tracked by #55949
8000

[Null-aware elements] Language Tests in tests/language #55927

chloestefantsova opened this issue Jun 4, 2024 · 1 comment
Assignees
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). feature-null-aware-elements Implementation of the Null-aware elements feature type-test

Comments

@chloestefantsova
Copy link
Contributor

Write up language tests for the tests/language repository.

The example is pulled from the spec.

void printThree(String? a, String? b, String? c) {
  print([?a, ?b, ?c].join(' '));
}

main() {
  printThree('first', null, 'last');
}
@chloestefantsova chloestefantsova added area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). type-test feature-null-aware-elements Implementation of the Null-aware elements feature labels Jun 4, 2024
@chloestefantsova chloestefantsova self-assigned this Jun 4, 2024
@chloestefantsova
Copy link
Contributor Author

The current direction is to convert the emergent unit tests into language tests and to get @lrhn's help to generate particularly tricky examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). feature-null-aware-elements Implementation of the Null-aware elements feature type-test
Projects
None yet
Development

No branches or pull requests

1 participant
0