{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/24366","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/24366/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/24366/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/24366/events","html_url":"https://github.com/dart-lang/sdk/issues/24366","id":106919824,"number":24366,"title":"Error message regarding part of in imported library doesn't say where the import is","user":{"login":"peter-ahe-google","id":5689005,"avatar_url":"https://avatars.githubusercontent.com/u/5689005?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-ahe-google","html_url":"https://github.com/peter-ahe-google","followers_url":"https://api.github.com/users/peter-ahe-google/followers","following_url":"https://api.github.com/users/peter-ahe-google/following{/other_user}","gists_url":"https://api.github.com/users/peter-ahe-google/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-ahe-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-ahe-google/subscriptions","organizations_url":"https://api.github.com/users/peter-ahe-google/orgs","repos_url":"https://api.github.com/users/peter-ahe-google/repos","events_url":"https://api.github.com/users/peter-ahe-google/events{/privacy}","received_events_url":"https://api.github.com/users/peter-ahe-google/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-dart2js","name":"area-dart2js","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/started","name":"started","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"johnniwinther","id":12426277,"avatar_url":"https://avatars.githubusercontent.com/u/12426277?v=3","gravatar_id":"","url":"https://api.github.com/users/johnniwinther","html_url":"https://github.com/johnniwinther","followers_url":"https://api.github.com/users/johnniwinther/followers","following_url":"https://api.github.com/users/johnniwinther/following{/other_user}","gists_url":"https://api.github.com/users/johnniwinther/gists{/gist_id}","starred_url":"https://api.github.com/users/johnniwinther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnniwinther/subscriptions","organizations_url":"https://api.github.com/users/johnniwinther/orgs","repos_url":"https://api.github.com/users/johnniwinther/repos","events_url":"https://api.github.com/users/johnniwinther/events{/privacy}","received_events_url":"https://api.github.com/users/johnniwinther/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-17T06:28:29Z","updated_at":"2015-12-09T09:05:14Z","closed_at":"2015-12-09T09:05:14Z","body":"I wanted to remove importers of `options.dart`, so I changed the library declaration to a `part of` declaration.\r\n\r\nI got this error message:\r\n\r\n```\r\npackage/fletchc/src/driver/options.dart:5:1:\r\nError: The imported library must not have a 'part-of' directive.\r\nTry removing the 'part-of' directive or replacing the import of the library with a 'part' directive.\r\npart of fletchc.driver.options;\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nThis indicates that there's something wrong with `options.dart`, but the problem is elsewhere (at the point of import)."}}