Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49FF91070D for ; Mon, 2 Dec 2013 22:12:36 +0000 (UTC) Received: (qmail 22776 invoked by uid 500); 2 Dec 2013 22:12:36 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 22757 invoked by uid 500); 2 Dec 2013 22:12:36 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 22747 invoked by uid 99); 2 Dec 2013 22:12:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 22:12:36 +0000 Date: Mon, 2 Dec 2013 22:12:36 +0000 (UTC) From: "Erik de Bruin (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33925) goog.require not being generated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836978#comment-13836978 ] Erik de Bruin commented on FLEX-33925: -------------------------------------- Excellent, I'm able to reproduce the problem. Will look at a solution soon. > 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, DataGridView.as, datagridxcompile.zip > > > 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)