{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/19230","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/19230/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/19230/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/19230/events","html_url":"https://github.com/dart-lang/sdk/issues/19230","id":84581597,"number":19230,"title":"Polymer transformer can't process JS !== in JS Polymer Element core-header-panel","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","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},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-Pkg","name":"Area-Pkg","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Duplicate","name":"Duplicate","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Pkg-PolymerExpressions","name":"Pkg-PolymerExpressions","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Unassigned","name":"Priority-Unassigned","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-05T01:08:41Z","updated_at":"2015-06-05T23:15:40Z","closed_at":"2015-06-03T14:03:28Z","body":"*This issue was originally filed by @terrasea*\n_____\n**What steps will reproduce the problem?**\n1.Create a Polymer Dart project\n2.install core-header-panel via bower and include it in your Polymer Dart element\n3.try and serve it via pub serve\n\n**What is the expected output? What do you see instead?**\nI expect it to work as advertised\n\nWhat I got instead was an error of\n\nBuild error:\nTransform ScriptCompactor on gcanvas|web/index.html threw error: The null object does not have a method '&gt;'.\n\nNoSuchMethodError: method not found: '&gt;'\nReceiver: null\nArguments: [7]\ndart:core-patch/object_patch.dart 45                                            Object.noSuchMethod\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 99:30           Parser._parseBinary\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 71:72           Parser._parsePrecedence\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 43:52           Parser._parseExpression\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 29:28           Parser.parse\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 12:56           parse\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 524:25  \\_HtmlExtractor._addExpression\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 509:23  \\_HtmlExtractor._processNormalElement.&lt;fn&gt;\ndart:collection-patch/collection_patch.dart 957                                 \\_HashMap&amp;&amp;_LinkedHashMapMixin.forEach\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 495:28  \\_HtmlExtractor._processNormalElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 453:43  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 462:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 32:52                 TreeVisitor.visitDocument\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 16:52                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 187:61  \\_extractUsesOfMirrors\ndart:async/zone.dart 730                                                        \\_rootRunUnary\ndart:async/zone.dart 864                                                        \\_RootZone.runUnary\ndart:async/future_impl.dart 488                                                 \\_Future._propagateToListeners.handleValueCallback\ndart:async/future_impl.dart 571                                                 \\_Future._propagateToListeners\ndart:async/future_impl.dart 555                                                 \\_Future._propagateToListeners.handleWhenCompleteCallback.&lt;fn&gt;\ndart:async/zone.dart 730                                                        \\_rootRunUnary\ndart:async/zone.dart 864                                                        \\_RootZone.runUnary\ndart:async/future_impl.dart 488                                                 \\_Future._propagateToListeners.handleValueCallback\ndart:async/future_impl.dart 571                                                 \\_Future._propagateToListeners\ndart:async/future_impl.dart 331                                                 \\_Future._completeWithValue\ndart:async/future_impl.dart 393                                                 \\_Future._asyncComplete.&lt;fn&gt;\ndart:async/schedule_microtask.dart 23                                           \\_asyncRunCallbackLoop\ndart:async/schedule_microtask.dart 32                                           \\_asyncRunCallback\ndart:isolate-patch/isolate_patch.dart 128                                       \\_RawReceivePortImpl._handleMessage\n\ndart:core                                                                       Object.noSuchMethod\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 99:30           Parser._parseBinary\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 71:72           Parser._parsePrecedence\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 43:52           Parser._parseExpression\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 29:28           Parser.parse\nhttp://127.0.0.1:39312/packages/polymer_expressions/parser.dart 12:56           parse\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 524:25  \\_HtmlExtractor._addExpression\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 509:23  \\_HtmlExtractor._processNormalElement.&lt;fn&gt;\ndart:collection                                                                 \\_HashMap&amp;&amp;_LinkedHashMapMixin.forEach\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 495:28  \\_HtmlExtractor._processNormalElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 453:43  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 462:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 39:50                 TreeVisitor.visitElement\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 465:25  \\_HtmlExtractor.visitElement\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 12:50                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 24:49                 TreeVisitor.visitChildren\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 30:48                 TreeVisitor.visitNodeFallback\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 32:52                 TreeVisitor.visitDocument\nhttp://127.0.0.1:39312/packages/html5lib/dom_parsing.dart 16:52                 TreeVisitor.visit\nhttp://127.0.0.1:39312/packages/polymer/src/build/script_compactor.dart 187:61  \\_extractUsesOfMirrors\ndart:isolate                                                                    \\_RawReceivePortImpl._handleMessage\nBuild completed with 1 errors.\n\n**What version of the product are you using? On what operating system?**\nDart Editor version 1.5.0.dev_03_04 (DEV)\nDart SDK version 1.5.0-dev.3.4\n\n**Please provide any additional information below.**\n\nI found by editing it and changing this line\n\n&lt;div id=&quot;mainContainer&quot; flex?=&quot;{{mode !== 'cover'}}&quot; on-scroll=&quot;{{scroll}}&quot;&gt;\n\nto this\n\n&lt;div id=&quot;mainContainer&quot; flex?=&quot;{{mode != 'cover'}}&quot; on-scroll=&quot;{{scroll}}&quot;&gt;\n\nfixed the problem\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/109477816","html_url":"https://github.com/dart-lang/sdk/issues/19230#issuecomment-109477816","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/19230","id":109477816,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","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},"created_at":"2015-06-05T23:15:39Z","updated_at":"2015-06-05T23:15:39Z","body":"This issue has been moved to dart-lang/polymer-dart#504."}}