You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Kessler CTR Mark J <ma...@usmc.mil> on 2016/06/01 11:37:07 UTC
Package keyword and import class
Bumped into a path for a project that has a folder with "package" in the name and it causes a syntax error[1]. Shouldn't the import pathing be able to handle any folder name without keywords interfering with it? At this time, just renaming the folder works to correct it.
Doesn't work:
import mypath.package.myview;
Works:
import mypath.packages.myview;
[1] Error: Syntax error: expecting identifier before package.
-Mark
RE: Package keyword and import class
Posted by Kessler CTR Mark J <ma...@usmc.mil>.
I'll give it a shot tonight.
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, June 01, 2016 10:11 AM
To: Kessler CTR Mark J; dev@flex.apache.org
Subject: [Non-DoD Source] Re: Package keyword and import class
Can you try with falcon?
Sent from my LG G3, an AT&T 4G LTE smartphone
------ Original message------
From: Kessler CTR Mark J
Date: Wed, Jun 1, 2016 4:38 AM
To: 'dev@flex.apache.org';
Subject:Package keyword and import class
Bumped into a path for a project that has a folder with "package" in the name and it causes a syntax error[1]. Shouldn't the import pathing be able to handle any folder name without keywords interfering with it? At this time, just renaming the folder works to correct it.
Doesn't work:
import mypath.package.myview;
Works:
import mypath.packages.myview;
[1] Error: Syntax error: expecting identifier before package.
-Mark
Re: Package keyword and import class
Posted by Alex Harui <ah...@adobe.com>.
Can you try with falcon?
Sent from my LG G3, an AT&T 4G LTE smartphone
------ Original message------
From: Kessler CTR Mark J
Date: Wed, Jun 1, 2016 4:38 AM
To: 'dev@flex.apache.org';
Subject:Package keyword and import class
Bumped into a path for a project that has a folder with "package" in the name and it causes a syntax error[1]. Shouldn't the import pathing be able to handle any folder name without keywords interfering with it? At this time, just renaming the folder works to correct it.
Doesn't work:
import mypath.package.myview;
Works:
import mypath.packages.myview;
[1] Error: Syntax error: expecting identifier before package.
-Mark