HoriSun / closure-compiler

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

Export methods that implement an @interface method that has @export #1280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you have an interface Foo with

/** @export */
Foo.prototype.doThings = function() {}

and a concrete class Bar which implements Foo, export Bar.prototype.doThings, 
just as we would if the @export annotation was on Bar's method.

Original issue reported on code.google.com by tbreisac...@google.com on 12 Mar 2014 at 6:52

GoogleCodeExporter commented 9 years ago
see also 1137

Original comment by johnl...@google.com on 12 Mar 2014 at 8:09

GoogleCodeExporter commented 9 years ago
Currently @export injects export functions which create aliases.  To do what is 
asked for here, requires that we have a different "export" policy.  That would 
basically create an synthetic extern definition or recognize @export through 
all the optimization passes. 

Original comment by concavel...@gmail.com on 13 Mar 2014 at 12:11

GoogleCodeExporter commented 9 years ago
Issue tracking has been migrated to github. Please make any further comments on 
this issue through https://github.com/google/closure-compiler/issues

Original comment by blic...@google.com on 1 May 2014 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by blic...@google.com on 1 May 2014 at 6:34