commit | d693c5377fb5e0e6f6f998bb22434ecace829d91 | [log] [tgz] |
---|---|---|
author | Jacob MacDonald <jakemac@google.com> | Mon Oct 17 11:23:51 2016 -0700 |
committer | Jacob MacDonald <jakemac@google.com> | Mon Oct 17 11:23:51 2016 -0700 |
tree | bd0e878d855fc273dff3ddd0b37903b0324a1d92 | |
parent | 202b0efa76676c1a2abcd97176a446407bab5ecf [diff] |
fix new strong mode error
diff --git a/lib/src/span_mixin.dart b/lib/src/span_mixin.dart index f6d04fa..a258cf5 100644 --- a/lib/src/span_mixin.dart +++ b/lib/src/span_mixin.dart
@@ -60,7 +60,7 @@ if (length == 0 && this is! SourceSpanWithContext) return buffer.toString(); buffer.write("\n"); - var textLine; + String textLine; if (this is SourceSpanWithContext) { var context = (this as SourceSpanWithContext).context; var lineStart = findLineStart(context, text, column);