Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

A number of cleanup commits #126

Merged
merged 9 commits into from
Sep 20, 2018
Merged

A number of cleanup commits #126

merged 9 commits into from
Sep 20, 2018

Conversation

kevmoo
Copy link
Contributor

@kevmoo kevmoo commented Sep 19, 2018

No description provided.

Copy link
Contributor

@szakarias szakarias left a comment

Choose a reason for hiding this comment

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

LGTM

@kevmoo kevmoo merged commit 8244a37 into master Sep 20, 2018
@kevmoo kevmoo deleted the kevmoo.cleanup branch September 20, 2018 15:34
return x != ""; // return false; suppress unused variable warning
} catch (e) {
var checked = false;
assert(() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not checking the same thing.

The code as originally written:

  • in Dart 1 was checking for --checked.
  • in Dart 2 was checking for --omit-implicit-checks when compiled with dart2js

Now it is checking for --enable-asserts.

So I expect a performance regression on 'production' apps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rakudrama – suggestions?

Copy link
Contributor

Choose a reason for hiding this comment

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

revert this part

Copy link
Contributor

Choose a reason for hiding this comment

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

And document it better.

kevmoo added a commit that referenced this pull request Sep 20, 2018
kevmoo added a commit that referenced this pull request Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

4 participants