{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/26942","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/26942/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/26942/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/26942/events","html_url":"https://github.com/dart-lang/sdk/issues/26942","id":166937440,"number":26942,"title":"Incremental analysis broken by modifying const variable","user":{"login":"stereotype441","id":306375,"avatar_url":"https://avatars.githubusercontent.com/u/306375?v=3","gravatar_id":"","url":"https://api.github.com/users/stereotype441","html_url":"https://github.com/stereotype441","followers_url":"https://api.github.com/users/stereotype441/followers","following_url":"https://api.github.com/users/stereotype441/following{/other_user}","gists_url":"https://api.github.com/users/stereotype441/gists{/gist_id}","starred_url":"https://api.github.com/users/stereotype441/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stereotype441/subscriptions","organizations_url":"https://api.github.com/users/stereotype441/orgs","repos_url":"https://api.github.com/users/stereotype441/repos","events_url":"https://api.github.com/users/stereotype441/events{/privacy}","received_events_url":"https://api.github.com/users/stereotype441/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"scheglov","id":384794,"avatar_url":"https://avatars.githubusercontent.com/u/384794?v=3","gravatar_id":"","url":"https://api.github.com/users/scheglov","html_url":"https://github.com/scheglov","followers_url":"https://api.github.com/users/scheglov/followers","following_url":"https://api.github.com/users/scheglov/following{/other_user}","gists_url":"https://api.github.com/users/scheglov/gists{/gist_id}","starred_url":"https://api.github.com/users/scheglov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheglov/subscriptions","organizations_url":"https://api.github.com/users/scheglov/orgs","repos_url":"https://api.github.com/users/scheglov/repos","events_url":"https://api.github.com/users/scheglov/events{/privacy}","received_events_url":"https://api.github.com/users/scheglov/received_events","type":"User","site_admin":false},"assignees":[{"login":"scheglov","id":384794,"avatar_url":"https://avatars.githubusercontent.com/u/384794?v=3","gravatar_id":"","url":"https://api.github.com/users/scheglov","html_url":"https://github.com/scheglov","followers_url":"https://api.github.com/users/scheglov/followers","following_url":"https://api.github.com/users/scheglov/following{/other_user}","gists_url":"https://api.github.com/users/scheglov/gists{/gist_id}","starred_url":"https://api.github.com/users/scheglov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheglov/subscriptions","organizations_url":"https://api.github.com/users/scheglov/orgs","repos_url":"https://api.github.com/users/scheglov/repos","events_url":"https://api.github.com/users/scheglov/events{/privacy}","received_events_url":"https://api.github.com/users/scheglov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-21T23:04:16Z","updated_at":"2016-07-26T19:36:33Z","closed_at":"2016-07-26T19:36:33Z","body":"I have `--finer-grained-invalidation` enabled and I'm using 1.18.0-dev.4.0.\r\n\r\nRepro steps:\r\n- Open an IntelliJ project analyzing `analyzer`.\r\n- Open the file `test/src/context/mock_sdk.dart`\r\n- Wait for analysis to finish.\r\n- Modify the third argument to _MockSdkLibrary() in the definition of `_LIB_CORE`, by adding a blank line.\r\n\r\nObserved behavior: analyzer shows the error messages `'const' variables must be constant value` and `'const' lists must have all constant values`, at the site of the usage of `_LIB_CORE` in `_LIBRARIES`.  Deleting the blank line does not get rid of the error.  To get rid of the error I must reanalyze sources."}}
{"actor":{"display_login":"stereotype441"}}