{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/1455","labels_url":"https://api.github.com/repos/angular/angular/issues/1455/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/1455/comments","events_url":"https://api.github.com/repos/angular/angular/issues/1455/events","html_url":"https://github.com/angular/angular/issues/1455","id":69477779,"number":1455,"title":"transform.directive_processor.rewriter assumes `bool` is in \"scope\" – it might not be","user":{"login":"kevmoo","id":17034,"avatar_url":"https://avatars.githubusercontent.com/u/17034?v=3","gravatar_id":"","url":"https://api.github.com/users/kevmoo","html_url":"https://github.com/kevmoo","followers_url":"https://api.github.com/users/kevmoo/followers","following_url":"https://api.github.com/users/kevmoo/following{/other_user}","gists_url":"https://api.github.com/users/kevmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevmoo/subscriptions","organizations_url":"https://api.github.com/users/kevmoo/orgs","repos_url":"https://api.github.com/users/kevmoo/repos","events_url":"https://api.github.com/users/kevmoo/events{/privacy}","received_events_url":"https://api.github.com/users/kevmoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/%23dart/transformer","name":"#dart/transformer","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"kegluneq","id":613610,"avatar_url":"https://avatars.githubusercontent.com/u/613610?v=3","gravatar_id":"","url":"https://api.github.com/users/kegluneq","html_url":"https://github.com/kegluneq","followers_url":"https://api.github.com/users/kegluneq/followers","following_url":"https://api.github.com/users/kegluneq/following{/other_user}","gists_url":"https://api.github.com/users/kegluneq/gists{/gist_id}","starred_url":"https://api.github.com/users/kegluneq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kegluneq/subscriptions","organizations_url":"https://api.github.com/users/kegluneq/orgs","repos_url":"https://api.github.com/users/kegluneq/repos","events_url":"https://api.github.com/users/kegluneq/events{/privacy}","received_events_url":"https://api.github.com/users/kegluneq/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-04-19T23:52:54Z","updated_at":"2015-04-22T16:12:42Z","closed_at":null,"body":"If you turn on package warnings in `examples` or the benchmark projects...\r\n\r\n```yaml\r\n- $dart2js:\r\n    commandLineOptions:\r\n    - --show-package-warnings\r\n```\r\n\r\nYou'll see warnings like this \r\n```\r\n[Warning from Dart2JS on examples|web/src/hello_world/index.dart]:\r\npackages/angular2/src/facade/math.ng_deps.dart:7:1:\r\nCannot resolve type 'bool'.\r\nbool _visited = false;\r\n^^^^\r\n```\r\nhttps://travis-ci.org/angular/angular/jobs/59171347#L1108\r\n\r\n```dart\r\nlibrary angular.core.facade.math.ng_deps.dart;\r\n\r\nimport 'math.dart';\r\nimport 'dart:core' show double, num;\r\nimport 'dart:math' as math;\r\n\r\nbool _visited = false;\r\nvoid initReflector(reflector) {\r\n  if (_visited) return;\r\n  _visited = true;\r\n}\r\n```\r\n\r\nYour code assumes `bool` is always available, but if core is imported with a name, it won't be.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/95251992","html_url":"https://github.com/angular/angular/issues/1455#issuecomment-95251992","issue_url":"https://api.github.com/repos/angular/angular/issues/1455","id":95251992,"user":{"login":"kevmoo","id":17034,"avatar_url":"https://avatars.githubusercontent.com/u/17034?v=3","gravatar_id":"","url":"https://api.github.com/users/kevmoo","html_url":"https://github.com/kevmoo","followers_url":"https://api.github.com/users/kevmoo/followers","following_url":"https://api.github.com/users/kevmoo/following{/other_user}","gists_url":"https://api.github.com/users/kevmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevmoo/subscriptions","organizations_url":"https://api.github.com/users/kevmoo/orgs","repos_url":"https://api.github.com/users/kevmoo/repos","events_url":"https://api.github.com/users/kevmoo/events{/privacy}","received_events_url":"https://api.github.com/users/kevmoo/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T16:12:42Z","updated_at":"2015-04-22T16:12:42Z","body":"The extra import won't cause any problems in output size.\r\n\r\nGetting rid of noise here is important – it'll help us find real bugs later."}}