{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/31623","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/31623/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/31623/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/31623/events","html_url":"https://github.com/dart-lang/sdk/issues/31623","id":281594492,"number":31623,"title":"Fasta is not able to compile itself in strong mode","user":{"login":"alexmarkov","id":29557594,"avatar_url":"https://avatars3.githubusercontent.com/u/29557594?v=4","gravatar_id":"","url":"https://api.github.com/users/alexmarkov","html_url":"https://github.com/alexmarkov","followers_url":"https://api.github.com/users/alexmarkov/followers","following_url":"https://api.github.com/users/alexmarkov/following{/other_user}","gists_url":"https://api.github.com/users/alexmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmarkov/subscriptions","organizations_url":"https://api.github.com/users/alexmarkov/orgs","repos_url":"https://api.github.com/users/alexmarkov/repos","events_url":"https://api.github.com/users/alexmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/alexmarkov/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":524536392,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-front-end","name":"area-front-end","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dart-lang/sdk/milestones/12","html_url":"https://github.com/dart-lang/sdk/milestone/12","labels_url":"https://api.github.com/repos/dart-lang/sdk/milestones/12/labels","id":1146965,"number":12,"title":"Dart2Stable","description":"","creator":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars0.githubusercontent.com/u/8958862?v=4","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"open_issues":46,"closed_issues":28,"state":"open","created_at":"2013-02-08T23:27:11Z","updated_at":"2018-04-16T19:49:47Z","due_on":"2018-06-15T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-12-13T01:27:30Z","updated_at":"2018-04-16T20:26:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\npkg/front_end/tool/fasta compile --strong-mode pkg/front_end/tool/_fasta/compile.dart\r\n```\r\n\r\n```\r\npkg/front_end/lib/src/fasta/kernel/kernel_target.dart:267:14: Error: A value of type 'dart.async::Future<dynamic>' can't be assigned to a variable of type 'dart.async::FutureOr<kernel.ast::Program>'.\r\nTry changing the type of the left hand side, or casting the right hand side to 'dart.async::FutureOr<kernel.ast::Program>'.\r\n      return reportCrash(e, s, loader?.currentUriForCrashReporting);\r\n             ^\r\npkg/front_end/lib/src/fasta/kernel/kernel_target.dart:306:14: Error: A value of type 'dart.async::Future<dynamic>' can't be assigned to a variable of type 'dart.async::FutureOr<kernel.ast::Program>'.\r\nTry changing the type of the left hand side, or casting the right hand side to 'dart.async::FutureOr<kernel.ast::Program>'.\r\n      return reportCrash(e, s, loader?.currentUriForCrashReporting);\r\n             ^\r\npkg/front_end/lib/src/fasta/source/outline_builder.dart:709:49: Error: A value of type 'dart.core::List<dynamic>' can't be assigned to a variable of type 'dart.core::Iterable<fasta.formal_parameter_builder::FormalParameterBuilder<dynamic>>'.\r\nTry changing the type of the left hand side, or casting the right hand side to 'dart.core::Iterable<fasta.formal_parameter_builder::FormalParameterBuilder<dynamic>>'.\r\n        formals.setRange(count, formals.length, last);\r\n                                                ^\r\n```\r\n\r\n/cc @kmillikin @mraleph "},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/381737866","html_url":"https://github.com/dart-lang/sdk/issues/31623#issuecomment-381737866","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/31623","id":381737866,"user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars0.githubusercontent.com/u/1269969?v=4","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T20:26:43Z","updated_at":"2018-04-16T20:26:43Z","author_association":"MEMBER","body":"I just see two issues now:\r\n\r\n```\r\npkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart:460:14: Error: A value of type '(entities::FieldEntity) → dart2js.new_js_emitter.model::StaticField' can't be assigned to a variable of type '(entities::MemberEntity) → dynamic'.\r\nTry changing the type of the left hand side, or casting the right hand side to '(entities::MemberEntity) → dynamic'.\r\n        .map(_buildLazyField)\r\n             ^\r\npkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart:638:14: Error: A value of type '(entities::FunctionEntity) → dart2js.new_js_emitter.model::StaticDartMethod' can't be assigned to a variable of type '(entities::MemberEntity) → dynamic'.\r\nTry changing the type of the left hand side, or casting the right hand side to '(entities::MemberEntity) → dynamic'.\r\n        .map(_buildStaticMethod)\r\n```\r\n\r\nI think we need to bump the priority of this, given that it's a blocker for users running their tests in --preview-dart-2, which is an important aspect of them upgrading their packages to work under Dart 2.\r\n\r\n"}}
{"actor":{"display_login":"devoncarew"}}