-
Notifications
You must be signed in to change notification settings - Fork 38
fix strong mode errors, and a bunch of analyzer messages #13
Conversation
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wow
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... yeah, hah!
There was a problem hiding this comment.
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 :)
BTW, I'm happy to "git cl upload" if you want? I just noticed this project does have a .settings file for that. |
LGTM, yeah sorry, I was ooo yesterday. if it starts getting bigger git-cl sounds good, otherwise I'm fine with prs |
fix strong mode errors, and a bunch of analyzer messages
Thanks!!! |
fix strong mode errors, and a bunch of analyzer messages
I didn't get to all of the warnings (about 50).