{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/dart_style/issues/358","labels_url":"https://api.github.com/repos/dart-lang/dart_style/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart_style/issues/358/comments","events_url":"https://api.github.com/repos/dart-lang/dart_style/issues/358/events","html_url":"https://github.com/dart-lang/dart_style/issues/358","id":87999924,"number":358,"title":"Crash on file 'library'","user":{"login":"lukechurch","id":2978182,"avatar_url":"https://avatars.githubusercontent.com/u/2978182?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechurch","html_url":"https://github.com/lukechurch","followers_url":"https://api.github.com/users/lukechurch/followers","following_url":"https://api.github.com/users/lukechurch/following{/other_user}","gists_url":"https://api.github.com/users/lukechurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechurch/subscriptions","organizations_url":"https://api.github.com/users/lukechurch/orgs","repos_url":"https://api.github.com/users/lukechurch/repos","events_url":"https://api.github.com/users/lukechurch/events{/privacy}","received_events_url":"https://api.github.com/users/lukechurch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-13T12:46:19Z","updated_at":"2015-06-16T16:12:13Z","closed_at":"2015-06-16T16:12:13Z","body":"Create a file contain exactly the word 'library' with no whitespace:\r\n\r\n```\r\nRangeError: End 8 must not be greater than the number of characters in the file, 7.\r\n#0      FileSpan.FileSpan._ (package:source_span/src/file.dart:212)\r\n#1      SourceFile.span (package:source_span/src/file.dart:76)\r\n#2      FormatterException.message (package:dart_style/src/formatter_exception.dart:28)\r\n#3      processFile (package:dart_style/src/io.dart:62)\r\n#4      formatPaths (file:///Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/third_party/pkg_tested/dart_style/bin/format.dart:174)\r\n#5      main (file:///Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/third_party/pkg_tested/dart_style/bin/format.dart:112)\r\n#6      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:253)\r\n#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:142)\r\n```\r\n"}}