Hi Jacek,

I don't think that works right now.

Can you explain what you mean by having JSDT understand them as the exact
same thing just so I'm clear? What is the use case?

Chris




                                                                       
             Jacek Pospychała                                        
             <[email protected]                                         
             >                                                          To
             Sent by:                  "[email protected]"           
             wtp-dev-boun...@e         <[email protected]>           
             clipse.org                                                 cc
                                                                       
                                                                   Subject
             06/17/2010 09:34          [wtp-dev] [JSDT] any way to copy
             AM                        one type to another?            
                                                                       
                                                                       
             Please respond to                                         
                 "General                                              
               discussion of                                           
              project-wide or                                          
               architectural                                           
              issues."
             <wtp-...@eclipse.                                         
                   org>                                                
                                                                       
                                                                       




hi,
let's assume I have Type1 and Type2 which are the same:

/**
 * @constructor
 */
Type1 = function() {
}

/**
 * @memberOf Type1
 */
Type1.prototype.coolDynFunc = function() {
}

/**
 * @magic
 */
Type2 = Type1;

is there a way to make JSDT understand this assignment and show Type1 and
Type2 as two exactly the same types?

thanks!

Jacek
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

<<inline: graycol.gif>>

<<inline: pic23394.gif>>

<<inline: ecblank.gif>>

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to