{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/32673","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/32673/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/32673/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/32673/events","html_url":"https://github.com/dart-lang/sdk/issues/32673","id":308567068,"number":32673,"title":"dartanalyzer does not find dart file.","user":{"login":"ngolovleva","id":15155393,"avatar_url":"https://avatars1.githubusercontent.com/u/15155393?v=4","gravatar_id":"","url":"https://api.github.com/users/ngolovleva","html_url":"https://github.com/ngolovleva","followers_url":"https://api.github.com/users/ngolovleva/followers","following_url":"https://api.github.com/users/ngolovleva/following{/other_user}","gists_url":"https://api.github.com/users/ngolovleva/gists{/gist_id}","starred_url":"https://api.github.com/users/ngolovleva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngolovleva/subscriptions","organizations_url":"https://api.github.com/users/ngolovleva/orgs","repos_url":"https://api.github.com/users/ngolovleva/repos","events_url":"https://api.github.com/users/ngolovleva/events{/privacy}","received_events_url":"https://api.github.com/users/ngolovleva/received_events","type":"User","site_admin":false},"labels":[{"id":334171875,"url":"https://api.github.com/repos/dart-lang/sdk/labels/P2%20medium","name":"P2 medium","color":"fbca04","default":false},{"id":334529063,"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20bug","name":"Type: bug","color":"ededed","default":false},{"id":219928186,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"MichaelRFairhurst","id":1627771,"avatar_url":"https://avatars1.githubusercontent.com/u/1627771?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelRFairhurst","html_url":"https://github.com/MichaelRFairhurst","followers_url":"https://api.github.com/users/MichaelRFairhurst/followers","following_url":"https://api.github.com/users/MichaelRFairhurst/following{/other_user}","gists_url":"https://api.github.com/users/MichaelRFairhurst/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelRFairhurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelRFairhurst/subscriptions","organizations_url":"https://api.github.com/users/MichaelRFairhurst/orgs","repos_url":"https://api.github.com/users/MichaelRFairhurst/repos","events_url":"https://api.github.com/users/MichaelRFairhurst/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelRFairhurst/received_events","type":"User","site_admin":false},"assignees":[{"login":"MichaelRFairhurst","id":1627771,"avatar_url":"https://avatars1.githubusercontent.com/u/1627771?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelRFairhurst","html_url":"https://github.com/MichaelRFairhurst","followers_url":"https://api.github.com/users/MichaelRFairhurst/followers","following_url":"https://api.github.com/users/MichaelRFairhurst/following{/other_user}","gists_url":"https://api.github.com/users/MichaelRFairhurst/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelRFairhurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelRFairhurst/subscriptions","organizations_url":"https://api.github.com/users/MichaelRFairhurst/orgs","repos_url":"https://api.github.com/users/MichaelRFairhurst/repos","events_url":"https://api.github.com/users/MichaelRFairhurst/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelRFairhurst/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-26T13:14:44Z","updated_at":"2018-03-27T03:27:32Z","closed_at":null,"author_association":"NONE","body":"dartanalyzer does not find dart file in the case described below.\r\nPut into the separate directory directory _dir1_ and a dart file:\r\n- dir1\r\n- test.dart\r\n```dart\r\nmain() {\r\n  print('--- output ---');\r\n}\r\n```\r\nRun test1.dart\r\nVariant 1: in this case datranalyzer does not find dart file.\r\n```\r\n> cd dir1\r\n> dart ../test.dart \r\n--- output ---\r\n> dartanalyzer ../test.dart  \r\nAnalyzing ../test.dart...\r\nNo dart files found at: ../test.dart\r\n>\r\n```\r\nVariant 2: dart and datranalyzer find dart file.\r\n```\r\n> cd ..\r\n> dart test.dart \r\n--- output ---\r\n> dartanalyzer test.dart \r\nAnalyzing test.dart...\r\nNo issues found!\r\n>\r\n```\r\nReproduced with Dart VM version: 2.0.0-dev.42.0 (Fri Mar 23 19:30:18 2018 +0100) on \"linux_x64\".\r\nLast version with which both variants work:  Dart VM version: 2.0.0-dev.32.0 .\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/376384981","html_url":"https://github.com/dart-lang/sdk/issues/32673#issuecomment-376384981","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/32673","id":376384981,"user":{"login":"sgrekhov","id":4627088,"avatar_url":"https://avatars1.githubusercontent.com/u/4627088?v=4","gravatar_id":"","url":"https://api.github.com/users/sgrekhov","html_url":"https://github.com/sgrekhov","followers_url":"https://api.github.com/users/sgrekhov/followers","following_url":"https://api.github.com/users/sgrekhov/following{/other_user}","gists_url":"https://api.github.com/users/sgrekhov/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrekhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrekhov/subscriptions","organizations_url":"https://api.github.com/users/sgrekhov/orgs","repos_url":"https://api.github.com/users/sgrekhov/repos","events_url":"https://api.github.com/users/sgrekhov/events{/privacy}","received_events_url":"https://api.github.com/users/sgrekhov/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T03:27:32Z","updated_at":"2018-03-27T03:27:32Z","author_association":"CONTRIBUTOR","body":"This isuue exists on Windows as well"}}
{"actor":{"display_login":"sgrekhov"}}