{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/26562","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/26562/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/26562/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/26562/events","html_url":"https://github.com/dart-lang/sdk/issues/26562","id":157291429,"number":26562,"title":"dartdoc is broken","user":{"login":"pylaligand","id":1115379,"avatar_url":"https://avatars.githubusercontent.com/u/1115379?v=3","gravatar_id":"","url":"https://api.github.com/users/pylaligand","html_url":"https://github.com/pylaligand","followers_url":"https://api.github.com/users/pylaligand/followers","following_url":"https://api.github.com/users/pylaligand/following{/other_user}","gists_url":"https://api.github.com/users/pylaligand/gists{/gist_id}","starred_url":"https://api.github.com/users/pylaligand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pylaligand/subscriptions","organizations_url":"https://api.github.com/users/pylaligand/orgs","repos_url":"https://api.github.com/users/pylaligand/repos","events_url":"https://api.github.com/users/pylaligand/events{/privacy}","received_events_url":"https://api.github.com/users/pylaligand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-27T21:11:41Z","updated_at":"2016-05-28T14:34:24Z","closed_at":null,"body":"```\r\n$ dart --version\r\nDart VM version: 1.17.0-dev.6.0 (Thu May 26 19:29:29 2016) on \"linux_x64\"\r\n\r\n$ dartdoc --version\r\ndartdoc version: 0.9.0\r\n\r\n$ dartdoc --input my_package/ --output out/\r\nGenerating documentation for 'my_package' into /path/to/out/\r\n\r\nGeneration failed: Class '_HashMap<Folder, YamlMap>' has no instance getter 'urlMappings'.\r\n\r\nNoSuchMethodError: method not found: 'urlMappings'\r\nReceiver: Instance of '_HashMap<Folder, YamlMap>'\r\nArguments: []\r\ndart:core                                                                                 Object.noSuchMethod\r\npackage:analyzer/source/embedder.dart 222                                                 EmbedderUriResolver.length\r\npackage:dartdoc/dartdoc.dart 148                                                          DartDoc._parseLibraries\r\npackage:dartdoc/dartdoc.dart 88                                                           DartDoc.generateDocs.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                                                                _Completer.completeError\r\npackage:dartdoc/dartdoc.dart 129                                                          DartDoc.generateDocs.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                                                                Future.Future.microtask\r\npackage:dartdoc/dartdoc.dart                                                              DartDoc.generateDocs\r\n/b/build/slave/dart-sdk-linux-dev/build/sdk/third_party/pkg/dartdoc/bin/dartdoc.dart 130  main.<async>.<fn>.<async>\r\n===== asynchronous gap ===========================\r\npackage:stack_trace                                                                       Chain.capture\r\n/b/build/slave/dart-sdk-linux-dev/build/sdk/third_party/pkg/dartdoc/bin/dartdoc.dart 129  main.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/dartdoc.dart 49                                                           initGenerators.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/src/html/html_generator.dart 62                                           HtmlGenerator.create.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/src/html/templates.dart 108                                               Templates.create.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/src/html/templates.dart 91                                                Templates.create.<async>._loadTemplate.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/src/html/resource_loader.dart 22                                          loadAsString.<async>\r\ndart:async                                                                                _SyncCompleter.complete\r\npackage:dartdoc/src/html/resource_loader.dart 33                                          loadAsBytes.<async>\r\n```\r\n\r\nThe analyzer library was updated in https://github.com/dart-lang/sdk/commit/53fe39137fb7601d2ea3596a8a6407815c383e8f where EmbeddedUriResolver now takes an `EmbeddedSdk` in its constructor instead of `Map<Folder, YamlMap>`, but dartdoc.dart still passes the latter at https://github.com/dart-lang/dartdoc/blob/d801824e747826508f5d76af422e2e09b8472613/lib/dartdoc.dart#L158.\r\n\r\n(Note: line numbers appear a bit off, not sure why)"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/222311594","html_url":"https://github.com/dart-lang/sdk/issues/26562#issuecomment-222311594","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/26562","id":222311594,"user":{"login":"pq","id":67586,"avatar_url":"https://avatars.githubusercontent.com/u/67586?v=3","gravatar_id":"","url":"https://api.github.com/users/pq","html_url":"https://github.com/pq","followers_url":"https://api.github.com/users/pq/followers","following_url":"https://api.github.com/users/pq/following{/other_user}","gists_url":"https://api.github.com/users/pq/gists{/gist_id}","starred_url":"https://api.github.com/users/pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pq/subscriptions","organizations_url":"https://api.github.com/users/pq/orgs","repos_url":"https://api.github.com/users/pq/repos","events_url":"https://api.github.com/users/pq/events{/privacy}","received_events_url":"https://api.github.com/users/pq/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T14:34:23Z","updated_at":"2016-05-28T14:34:23Z","body":"> restore the broken API\r\n\r\nAssuming this is the way we want to go: https://codereview.chromium.org/2021453003/"}}
{"actor":{"display_login":"pq"}}