Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

fix strong mode errors, and a bunch of analyzer messages #13

Merged
merged 1 commit into from
Sep 24, 2015

Conversation

jmesserly
Copy link
Contributor

I didn't get to all of the warnings (about 50).

@jmesserly
Copy link
Contributor Author

R= @sigmundch if you don't mind taking a look :)

@@ -278,10 +278,11 @@ class Color implements _StyleProperty, ColorBase {
return new Hsla(args[0], args[1], args[2], args[3]).toHexArgbString();
default:
// Type not defined UnsupportedOperationException should have thrown.
assert(true);
assert(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

oh wow

Copy link
Contributor

Choose a reason for hiding this comment

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

does ddc check for this? or was this an analyzer hint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

... yeah, hah!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, neither ... there is a message about missing return, and the John Analyzer noticed it :)

@jmesserly
Copy link
Contributor Author

BTW, I'm happy to "git cl upload" if you want? I just noticed this project does have a .settings file for that.

@sigmundch
Copy link
Contributor

LGTM, yeah sorry, I was ooo yesterday. if it starts getting bigger git-cl sounds good, otherwise I'm fine with prs

jmesserly pushed a commit that referenced this pull request Sep 24, 2015
fix strong mode errors, and a bunch of analyzer messages
@jmesserly jmesserly merged commit c2c937b into master Sep 24, 2015
@jmesserly jmesserly deleted the strong_mode branch September 24, 2015 20:20
@jmesserly
Copy link
Contributor Author

Thanks!!!

mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
fix strong mode errors, and a bunch of analyzer messages
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants