Skip to content

feat!: Move to dart 2.17 and clean up comment. - #59

Merged
spydon merged 4 commits into
mainfrom
spydon.dart-2.17
Jun 9, 2022
Merged

feat!: Move to dart 2.17 and clean up comment.#59
spydon merged 4 commits into
mainfrom
spydon.dart-2.17

Conversation

@spydon

@spydon spydon commented Jun 8, 2022

Copy link
Copy Markdown
Member

Description

This updates the min version of Dart to 2.17 and updates to the newest flame_lint.
All analyze issues are fixed in this PR + removing @param and @return

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have read the Contributor Guide and followed the process outlined for submitting PRs.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • [xj] I have updated/added relevant examples in examples.

Breaking Change

  • Yes, this is a breaking change.

Related Issues

bool testPoint(final Vector2 p) {
return shape.testPoint(body.transform, p);
/// [point] should be in world coordinates.
bool testPoint(final Vector2 point) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why this one particular parameter is final and nothing else?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No idea, nothing that comes from this PR though 😅

Comment thread packages/forge2d/lib/src/dynamics/contacts/contact_solver.dart
Comment thread packages/forge2d/lib/src/common/rot.dart

@luanpotter luanpotter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Excellent!

@spydon
spydon merged commit 8abd859 into main Jun 9, 2022
@spydon
spydon deleted the spydon.dart-2.17 branch June 9, 2022 13:36
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.

2 participants