MTASC 1.10 Released
This has been a big week for releases.
Hopefully I'll have time to give this a spin over the weekend. But here are some notes from Nicolas on the MTASC mailing list:
Hopefully I'll have time to give this a spin over the weekend. But here are some notes from Nicolas on the MTASC mailing list:
There is quite a lot of changes in this version, since 1.09 was released now
2 months ago.
I try to fix bugs but all all minor problems that where making users unhappy
or unconfortable.
I hope this release will open a new peaceful era when I don't have so much
things to fix :)
Incompatibilities :
Some things have been broke between 1.09 and 1.10, mostly syntax which is a
bit more strict in 1.10, and interfaces which are almost like MMC interfaces
now. The following things can also break your code, but should be easy to
change :
- deprecated keywords cannot be used
- "TRACE" should be replaced with "trace"
- escape sequences in strings have to be correct
Here is the list of all changes :
- fixed small problem with class case and import wildcards
- added exclude wildcards and exclude without file
- changed TRACE in "trace"
- added AS keywords as real keywords (including deprecated ones)
- fixed parsing of objects and array declarations and parameters lists
- fixed escape sequences in strings and added unicode escape sequences.
- fixed && and || precedence.
- fixed duplicate public/static/private qualifiers.
- fixed for...in variable forced as String
- no more private and static fields in interfaces
- implemented field cannot be private
- better error when same file referenced several times.
- delete now returns Boolean
- fixed getVersion() in TopLevel
- fixed problem in class replace when not -keep and -mx
- changed -main : now in DoAction and not InitAction
- fixed stack corruption in new var(expr).
- fixed break with several stacked for..in
- disabled variables in interfaces
- added error message when several classes in same file
- changed switch implementation
- fixed typing of ?:
- fixed stack problem with "for"
- separate directory and "add" keyword hack for Flash8