Rishipal Singh Bhatia
Rishipal Singh Bhatia
Fixed the title as this refers to the warnings page (not flags). The flags get auto updated with each release. The warnings do not.
More than record types, I think the problem is that `typedef` fails silently. They aren't supposed to be recursive, as they're used define an alias for an existing type. So...
This will be discussed in the upcoming internal triage meeting. A couple of thoughts: 1. On the plus side, we wouldn't have to update the open source documentation after code...
I suspect this is happening because by doing `SGlobal.scaleT = 4;` inside `ZoomManager.prototype.neverCalled` you have created a property named `scaleT`. Hence it's no longer an inexistent property, i.e. the compiler...
Closing as WAI per my comment above.
Repro - https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540output_file_name%2520default.js%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F%252F%2520ADD%2520YOUR%2520CODE%2520HERE%250Aconst%2520P%2520%253D%25200x2fadbe2852044d028597455bc2abbd1bc873af205dfabb8a304600f3e09eeba8n%253B%250Aconsole.log(P)%253B%250A%250A
This is a fair optimization request. We may not be able to prioritize this but we'd be happy to receive a PR of this change.
Can you try pasting the warning message from JSCompiler exactly how it appears. i.e. `swit/js/swit/phys/PhysBody.js:9:13: WARNING - [JSC_UNRECOGNIZED_TYPE_ERROR] Bad type annotation. Unknown type XYZ`