Dead code and switch cleanup (continued).
Prep to get us ready to pull in a new dev SDK and bump our analyzer DEP. * updates `crypto` (required by fresh analyzer) * fixes newly flagged dead code warnings * fixes switches that fall through and don't return
This commit is contained in:
@@ -19,7 +19,6 @@ void main() {
|
||||
|
||||
try {
|
||||
throw null;
|
||||
expect(false, isTrue); // shouldn't get here
|
||||
} catch (e, stack) {
|
||||
StringBuffer information = new StringBuffer();
|
||||
expect(reportExpectCall(stack, information), 0);
|
||||
|
||||
Reference in New Issue
Block a user