[ 
https://issues.apache.org/jira/browse/FLEX-33925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835257#comment-13835257
 ] 

Erik de Bruin commented on FLEX-33925:
--------------------------------------

There is already a unit test on FalconJx that covers this use case, and it 
shows the desired output...  And I'm having difficulties reproducing this. 

How does the project you're compiling look? Are you trying to compile the 
entire FlexJSUI project to JavaScript? Or did you create a separate project 
with only the DataGrid files? If the latter, did you include all the 
dependencies?

> goog.require not being generated
> --------------------------------
>
>                 Key: FLEX-33925
>                 URL: https://issues.apache.org/jira/browse/FLEX-33925
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>         Environment: Mac OS X
>            Reporter: Peter Ent
>            Assignee: Erik de Bruin
>         Attachments: CompilerExample.as
>
>
> Attempting to compile ActionScript component into JavaScript. The compiler is 
> not generating a goog.require() statement.
> Error:
> /Users/pent/Documents/Apache 
> Flex/DataGridXcompile/bin/js-debug/org/apache/flex/html/staticControls/beads/DataGridView.js:84:
>  ERROR - variable IBeadModel is undeclared
>   var /** @type {org.apache.flex.core.IDataGridModel} */ sharedModel = 
> org.apache.flex.utils.Language.as(this._strand.getBeadByType(IBeadModel), 
> org.apache.flex.core.IDataGridModel);
>     
> ActionScript source (see 
> org/apache/flex/html/staticControls/bead/DataGridView.js):
> import org.apache.flex.core.IBeadModel;
> ...
> var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as 
> IDataGridModel;
> A goog.require() statement was generated for IDataGridModel but not 
> IBeadModel.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to