commit | 381e451ba00f7e1ab14078d4f8bbbc8737385712 | [log] [tgz] |
---|---|---|
author | lrn@google.com <lrn@google.com> | Fri Jul 18 09:25:48 2014 +0000 |
committer | lrn@google.com <lrn@google.com> | Fri Jul 18 09:25:48 2014 +0000 |
tree | 28810e96944a52d8a05876d85a5f71a6a98031dc | |
parent | 1362c9ca68bc2012fae487e9c2fe3115e995cea6 [diff] |
Change "FormatException.position" to be named "offset". Address comments on SpanFormatException changes. R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=38373 Committed: https://code.google.com/p/dart/source/detail?r=38378 Review URL: https://codereview.chromium.org//396603003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/source_span@38379 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/src/span_exception.dart b/lib/src/span_exception.dart index af64241..36f2488 100644 --- a/lib/src/span_exception.dart +++ b/lib/src/span_exception.dart
@@ -36,7 +36,7 @@ implements FormatException { final source; - int get position => span == null ? null : span.start.offset; + int get offset => span == null ? null : span.start.offset; SourceSpanFormatException(String message, SourceSpan span, [this.source]) : super(message, span);