Skip to content

Commit

Permalink
Merge pull request flutter#9 from dart-lang/fix-strong-mode-errors
Browse files Browse the repository at this point in the history
Fix strong mode errors
  • Loading branch information
jakemac53 authored Oct 17, 2016
2 parents 202b0ef + 35ef33f commit 672ee0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.4

* Fix a new strong mode error.

# 1.2.3

* Fix a bug where a point span at the end of a file without a trailing newline
Expand Down
2 changes: 1 addition & 1 deletion lib/src/span_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ abstract class SourceSpanMixin implements SourceSpan {
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);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: source_span
version: 1.2.3
version: 1.2.4
author: Dart Team <misc@dartlang.org>
description: A library for identifying source spans and locations.
homepage: https://github.com/dart-lang/source_span
Expand Down

0 comments on commit 672ee0a

Please sign in to comment.