{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/618","repository_url":"https://api.github.com/repos/dart-lang/dev_compiler","labels_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/618/comments","events_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/618/events","html_url":"https://github.com/dart-lang/dev_compiler/issues/618","id":168946565,"number":618,"title":"Fix travis against analyzer tip","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-02T17:49:06Z","updated_at":"2016-08-02T20:51:14Z","closed_at":null,"body":"We're currently failing against analyzer tip-of-tree with (see https://travis-ci.org/dart-lang/dev_compiler/jobs/149241488):\r\n\r\n```\r\n*** Compiling SDK to JavaScript\r\n00:43 +1895 -1: codegen dartdevc language/internal_library_test_02_multi                           \r\n  AnalysisException: Cannot compute DART_ERRORS for dart:_foreign_helper\r\n```\r\n\r\nThis is a negative test:\r\n\r\n```dart\r\nlibrary internal_library_test;\r\n\r\nimport 'dart:core'; // This loads 'dart:_foreign_helper' and 'patch:core'.\r\nimport 'dart:_foreign_helper'; /// 01: compile-time error\r\n\r\npart 'dart:_foreign_helper'; /// 02: compile-time error\r\n```\r\n\r\nIt looks like we're not catching the error properly now."},"comment":{"url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/comments/237039499","html_url":"https://github.com/dart-lang/dev_compiler/issues/618#issuecomment-237039499","issue_url":"https://api.github.com/repos/dart-lang/dev_compiler/issues/618","id":237039499,"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},"created_at":"2016-08-02T20:51:14Z","updated_at":"2016-08-02T20:51:14Z","body":"Here's the full stack from DDC.  It's throwing inside the analyzer.  @bwilkerson - anything change around this?  Running dartanalyzer directly seems to work fine.\r\n\r\n```\r\n00:44 +1895 -1: codegen dartdevc language/internal_library_test_02_multi                           \r\n  AnalysisException: Cannot compute DART_ERRORS for dart:_foreign_helper\r\n  Caused by 62 unmatched elements found:\r\n    String typeDescription\r\n    JS_GET_FLAG(String name) → bool\r\n    dynamic args\r\n    [dynamic arg9]\r\n    [dynamic arg6]\r\n    [dynamic arg0]\r\n    JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG() → String\r\n    [dynamic arg11]\r\n    [dynamic arg2]\r\n    [dynamic arg10]\r\n    class _Rest\r\n    String codeTemplate\r\n    String name\r\n    JS_STRING_CONCAT(String a, String b) → String\r\n    JS_EFFECT(Function code) → void\r\n    spread(dynamic args) → dynamic\r\n    dynamic isolate\r\n    JS_GET_NAME(String name) → String\r\n    String typeDescription\r\n    [dynamic arg5]\r\n    String name\r\n    String name\r\n    JS_FUNCTION_TYPE_RETURN_TYPE_TAG() → String\r\n    JS_FUNCTION_TYPE_VOID_RETURN_TAG() → String\r\n    String code\r\n    JS_OPERATOR_AS_PREFIX() → String\r\n    [dynamic arg3]\r\n    String a\r\n    JS_FUNCTION_CLASS_NAME() → String\r\n    [dynamic arg7]\r\n    _Rest rest\r\n    JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG() → String\r\n    JS_NULL_CLASS_NAME() → String\r\n    JS_OPERATOR_IS_PREFIX() → String\r\n    String b\r\n    [dynamic arg1]\r\n    JS_SIGNATURE_NAME() → String\r\n    JS_DART_OBJECT_CONSTRUCTOR() → dynamic\r\n    JS_CURRENT_ISOLATE() → dynamic\r\n    JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG() → String\r\n    JS_SET_CURRENT_ISOLATE(dynamic isolate) → void\r\n    JS(String typeDescription, String codeTemplate, [dynamic arg0, dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6, dynamic arg7, dynamic arg8, dynamic arg9, dynamic arg10, dynamic arg11]) → dynamic\r\n    Type type\r\n    JS_OBJECT_CLASS_NAME() → String\r\n    class JSExportName\r\n    JS_FUNCTION_TYPE_TAG() → String\r\n    String name\r\n    abstract class IsolateContext\r\n    get isolateStatics → dynamic\r\n    JS_IS_INDEXABLE_FIELD_NAME() → String\r\n    class JS_CONST\r\n    dynamic isolate\r\n    JS_EMBEDDED_GLOBAL(String typeDescription, String name) → dynamic\r\n    [dynamic arg4]\r\n    Function code\r\n    JS_CREATE_ISOLATE() → dynamic\r\n    JS_CURRENT_ISOLATE_CONTEXT() → IsolateContext\r\n    Function function\r\n    JS_INTERCEPTOR_CONSTANT(Type type) → dynamic\r\n    JS_CALL_IN_ISOLATE(dynamic isolate, Function function) → dynamic\r\n    JS_TYPEDEF_TAG() → String\r\n    [dynamic arg8]\r\n  \r\n  #0      DeclarationResolver._validateResolution (package:analyzer/src/generated/resolver.dart:2846:7)\r\n  #1      DeclarationResolver.resolve (package:analyzer/src/generated/resolver.dart:2261:5)\r\n  #2      BuildCompilationUnitElementTask.internalPerform (package:analyzer/src/task/dart.dart:1100:33)\r\n  #3      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:338:9)\r\n  #4      AnalysisTask.perform (package:analyzer/task/model.dart:238:7)\r\n  #5      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284:10)\r\n  #6      AnalysisDriver.computeResult (package:analyzer/src/task/driver.dart:109:22)\r\n  #7      AnalysisContextImpl.computeResult (package:analyzer/src/context/context.dart:714:14)\r\n  #8      AnalysisContextImpl.computeErrors (package:analyzer/src/context/context.dart:662:12)\r\n  #9      ModuleCompiler.compile (package:dev_compiler/src/compiler/compiler.dart:116:31)\r\n```"}}
{"actor":{"display_login":"vsmenon"}}