HoriSun / closure-compiler

Automatically exported from code.google.com/p/closure-compiler
0 stars 0 forks source link

compile extjs problem #334

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I tried to compile a simple js script using extjs as externs
2. I used ant script as i found in the tutorial section
3. I got the error below

Please report this problem.
null
  Node(FUNCTION ): ext-3.3.1/ext-all-debug.js:780:13
    function getNodes(ns, mode, tagName){
  Parent(BLOCK): ext-3.3.1/ext-all-debug.js:672:25
Ext.DomQuery = function(){

Original issue reported on code.google.com by andrea.c...@gtempaccount.com on 3 Feb 2011 at 8:36

GoogleCodeExporter commented 8 years ago
Can you provide some details which compiler version, can you provide the full 
stack trace?

Original comment by concavel...@gmail.com on 4 Feb 2011 at 2:15

GoogleCodeExporter commented 8 years ago
I just downloaded the latest version of ext.js (3.3.1) and used the debug file 
as an extern definition. I got plenty of warnings and standard parse errors, 
but nothing unexpected.

Original comment by chadkill...@missouristate.edu on 8 Feb 2011 at 3:05

GoogleCodeExporter commented 8 years ago
Insufficient detail.

Original comment by concavel...@gmail.com on 15 Feb 2011 at 5:43

GoogleCodeExporter commented 8 years ago
I have the same issue with the current version of compiler.
I have an application written in Ext 3.4.0, and running the following command 
will produce thousands of errors.

$ java -jar compiler.jar  --version
Closure Compiler (http://code.google.com/closure/compiler)
Version: 20120710 (revision 2079)
Built on: 2012/07/10 20:55

$ java -jar compiler.jar  --js myextjsapp.js --js_output_file output.js 
--compilation_level ADVANCED_OPTIMIZATIONS --externs ext-all-debug.js 

Original comment by francesc...@allbus.com on 18 Jul 2012 at 5:08