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

chore(smithy,auth): Dart 3.3.0 Beta Analysis Errors #4354

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

Equartey
Copy link
Contributor

Description of changes:
Dart 3.30 beta introduces new lint failures. This provides fixes for failing tests:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Equartey Equartey requested a review from a team as a code owner January 17, 2024 18:18
Comment on lines 105 to 106
// TODO(equartey): Use `(langCodepageArr + i).ref` when Dart 3.30 is released.
// ignore: deprecated_member_use
Copy link
Member

Choose a reason for hiding this comment

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

Questions:

  • Should this be 3.3.0 instead of 3.30?
  • Is .ref new in dart 3.3? If so, we cannot use it until our min version is 3.3
  • Do we know when elementAt is being removed? I would assume not until at least 4.0 but would be goo to confirm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. Opps, yeah typo. Meant 3.3.0
  2. .ref is not new, rather 3.3.0 is deprecating elementAt() and the + operator is the replacement. I will update that comment too.
  3. Not sure if 4.0 or 3.4 reference

NikaHsn
NikaHsn previously approved these changes Jan 17, 2024
@Equartey Equartey changed the title fix(smithy,auth): Dart 3.3.0 Beta Analysis Errors chore(smithy,auth): Dart 3.3.0 Beta Analysis Errors Jan 17, 2024
@Equartey Equartey dismissed stale reviews from Jordan-Nelson and NikaHsn via 359daab January 17, 2024 22:15
@Equartey Equartey merged commit e92693b into main Jan 17, 2024
132 checks passed
@Equartey Equartey deleted the fix/dart-3.3.0-analysis branch January 17, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants