{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/293","repository_url":"https://api.github.com/repos/dart-lang/dev_compiler","labels_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/293/comments","events_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/293/events","html_url":"https://github.com/dart-lang/dev_compiler/issues/293","id":101765419,"number":293,"title":"Should we differentiate between implicit and explicit casts?","user":{"login":"vsmenon","id":2119553,"avatar_url":"https://avatars.githubusercontent.com/u/2119553?v=3","gravatar_id":"","url":"https://api.github.com/users/vsmenon","html_url":"https://github.com/vsmenon","followers_url":"https://api.github.com/users/vsmenon/followers","following_url":"https://api.github.com/users/vsmenon/following{/other_user}","gists_url":"https://api.github.com/users/vsmenon/gists{/gist_id}","starred_url":"https://api.github.com/users/vsmenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsmenon/subscriptions","organizations_url":"https://api.github.com/users/vsmenon/orgs","repos_url":"https://api.github.com/users/vsmenon/repos","events_url":"https://api.github.com/users/vsmenon/events{/privacy}","received_events_url":"https://api.github.com/users/vsmenon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/P2%20medium","name":"P2 medium","color":"fbca04"},{"url":"https://api.github.com/repos/dart-lang/dev_compiler/labels/ux","name":"ux","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-18T22:44:44Z","updated_at":"2016-05-12T17:10:20Z","closed_at":null,"body":"We generate a dart.as for both implicit and explicit (user as) cases.  Do we need to differentiate?\r\n\r\n```\r\n// StrongModeError or CastError?\r\ndynamic l1 = [];\r\nList<int> l2 = l1;\r\n\r\n// Ditto?\r\ndynamic l1 = [];\r\nvar l2 = l1 as List<int>;\r\n```\r\n\r\n@leafpetersen ?"},"comment":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/comments/218822881","html_url":"https://github.com/dart-lang/dev_compiler/issues/293#issuecomment-218822881","issue_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/293","id":218822881,"user":{"login":"jmesserly","id":1081711,"avatar_url":"https://avatars.githubusercontent.com/u/1081711?v=3","gravatar_id":"","url":"https://api.github.com/users/jmesserly","html_url":"https://github.com/jmesserly","followers_url":"https://api.github.com/users/jmesserly/followers","following_url":"https://api.github.com/users/jmesserly/following{/other_user}","gists_url":"https://api.github.com/users/jmesserly/gists{/gist_id}","starred_url":"https://api.github.com/users/jmesserly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmesserly/subscriptions","organizations_url":"https://api.github.com/users/jmesserly/orgs","repos_url":"https://api.github.com/users/jmesserly/repos","events_url":"https://api.github.com/users/jmesserly/events{/privacy}","received_events_url":"https://api.github.com/users/jmesserly/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T17:10:20Z","updated_at":"2016-05-12T17:10:20Z","body":"We have the same issue on dcalls, I think we throw a nSM instead of a StrongModeError or TypeError if the arg types fail to match"}}