{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/426","repository_url":"https://api.github.com/repos/dart-lang/dev_compiler","labels_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/426/comments","events_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/426/events","html_url":"https://github.com/dart-lang/dev_compiler/issues/426","id":128368849,"number":426,"title":"passing generic function literals","user":{"login":"Andersmholmgren","id":698895,"avatar_url":"https://avatars.githubusercontent.com/u/698895?v=3","gravatar_id":"","url":"https://api.github.com/users/Andersmholmgren","html_url":"https://github.com/Andersmholmgren","followers_url":"https://api.github.com/users/Andersmholmgren/followers","following_url":"https://api.github.com/users/Andersmholmgren/following{/other_user}","gists_url":"https://api.github.com/users/Andersmholmgren/gists{/gist_id}","starred_url":"https://api.github.com/users/Andersmholmgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andersmholmgren/subscriptions","organizations_url":"https://api.github.com/users/Andersmholmgren/orgs","repos_url":"https://api.github.com/users/Andersmholmgren/repos","events_url":"https://api.github.com/users/Andersmholmgren/events{/privacy}","received_events_url":"https://api.github.com/users/Andersmholmgren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-24T03:07:08Z","updated_at":"2016-02-25T22:42:06Z","closed_at":"2016-02-25T22:42:06Z","body":"I have the following\r\n\r\n```dart\r\ntypedef BuiltListProperty<T> BuiltListPropertyFactory<T>(\r\n    Stream<ListMutation<T>> mutations);\r\n\r\nBuiltListProperty<Object /*=T*/ > _defaultBuiltListPropertyFactory /*<T>*/ (\r\n        Stream<ListMutation /*<T>*/ > mutations) =>\r\n    new BuiltListProperty<Object /*=T*/ >(mutations);\r\n\r\nclass BuiltListProperty<E> {\r\n  BuiltListProperty /*<R>*/ map /*<R>*/ (/*=R*/ f(E element),\r\n          [BuiltListPropertyFactory /*<R>*/ builtListFactory =\r\n              _defaultBuiltListPropertyFactory /*<R>*/]) => ...\r\n}\r\n```\r\n\r\nThe analyzer complains with \r\n> ERROR: Type check failed: _defaultBuiltListPropertyFactory (<T>(Stream<ListMutation<T>>) → BuiltListProperty<T>) is not of type (Stream<ListMutation<R>>) → BuiltListProperty<R> ([frentity] lib/src/list_property/built_list_property.dart:64)"},"comment":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/comments/189016500","html_url":"https://github.com/dart-lang/dev_compiler/issues/426#issuecomment-189016500","issue_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/426","id":189016500,"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-02-25T22:42:06Z","updated_at":"2016-02-25T22:42:06Z","body":" believe this should be fixed now. Strong mode will infer it."}}