In ES5, there were two changes. As you said, they removed some items from
the list of reserved words. Also, all reserved words are now allowed to be
used for certain names. As I recall, this includes names of members, but
not names of local variables. If enum is still considered reserved in ES,
the
Josh Tynjala wrote
> As I mentioned in my previous post, JavaScript started
> allowing reserved words in places where they couldn't be used before with
> ES5. Since AS3 is derived from ECMAScript, it's pretty safe for us to do
Hi Josh,
maybe I get something wrong once again or I miss something bu
We've already modified the compiler to support several AS3 reserved words
as identifier names. As I mentioned in my previous post, JavaScript started
allowing reserved words in places where they couldn't be used before with
ES5. Since AS3 is derived from ECMAScript, it's pretty safe for us to do
th
>I guess the stream will definitely direct towards more people migrating to
JS so I think we shouldn’t >prohibit flash related reserver words in the js
world.
I'm confused.
Do you mean that we should allow using AS3 reserved words if they are
allowed in the JS world?
Wouldn't that mean that AS3 do
Really supporting “enums” would be super-cool anyway ;-)
Chris
Am 23.05.17, 09:08 schrieb "Olaf Krueger" :
Hi,
>It sounds like enum may be one of those that JavaScript allows that
ActionScript currently doesn't.
I've checked it out and it turns out that for both (AS3 a
Hi,
>It sounds like enum may be one of those that JavaScript allows that
ActionScript currently doesn't.
I've checked it out and it turns out that for both (AS3 and JS, ECMAScript5)
'enum' is flagged as future reserved
keyword [1][2].
Does is makes sense to just add it to as3ReservedWords [3]?
Hi,
Would it be possible to have separate lists of these words and to activate
these in the individual compilations?
I guess the stream will definitely direct towards more people migrating to JS
so I think we shouldn’t prohibit flash related reserver words in the js world.
What do you think?
There are a number of reserved words in ActionScript that can't be used as
identifiers, but they are allowed in JavaScript. We've been trying to
support each of them in the compiler whenever someone needs a new one. It
sounds like enum may be one of those that JavaScript allows that
ActionScript cu
Olaf,
In that case one thought which came to me is to try COMPILE::JS tag for
method, but as I remember it wasn't working in the end application. I need
to try myself and raise jira probably.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache
Hey Piotr,
the check-in procedure in Miami was done really quick, much faster than in
Germany.
So I've had some time to revive the work on my PureMVC EmployeeAdmin FlexJS
port ;-)
>How this failing fragment of code look like ? Could you post it on
https://paste.apache.org/ ?
In my case, it occurs
Hi Olaf :),
How this failing fragment of code look like ? Could you post it on
https://paste.apache.org/ ?
Thanks,
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-Compiler-doesn-t-recognize-rese
Hi,
I've stumbled over the issue that the compiler doesn't recognize the
reserved JS word 'enum'.
Instead, it just returns just a 'Parse error' without any hints that 'enum'
is a reserved JS keyword [1]
Is it a big deal to teach the compiler all the reserved JS keywords [2].
I found something like
12 matches
Mail list logo