Skip to content
Snippets Groups Projects
Commit 13f5b91f authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Fix analysis warnings.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1041453002
parent 0786b175
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,6 @@
library unittest.backend.platform_selector.evaluator;
import 'package:source_span/source_span.dart';
import '../operating_system.dart';
import '../test_platform.dart';
import 'ast.dart';
......
......@@ -88,7 +88,7 @@ class StringLiteralIterator extends Iterator<int> {
} else {
assert(literal is AdjacentStrings);
for (var string in literal.strings) {
for (var string in (literal as AdjacentStrings).strings) {
if (string is StringInterpolation) {
throw new ArgumentError("Can't iterate over an interpolated string.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment