Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 28 - Various as3gen problems - haxe #28

Closed
issuesbot opened this issue May 28, 2013 · 4 comments
Closed

Issue 28 - Various as3gen problems - haxe #28

issuesbot opened this issue May 28, 2013 · 4 comments

Comments

@issuesbot
Copy link

[Google Issue #28 : https://code.google.com/p/haxe/issues/detail?id=28]
by makc.the...@gmail.com, at 28/12/2009, 08:02:20
What steps will reproduce the problem?

  1. get sandy haxe trunk, generate as3

What is the expected output? What do you see instead?
I expect working as3 code. Various issues were reported on ML, none was
addressed.

http://lists.motion-twin.com/pipermail/haxe/2009-November/031485.html
http://lists.motion-twin.com/pipermail/haxe/2009-November/031492.html
http://lists.motion-twin.com/pipermail/haxe/2009-November/031493.html
http://lists.motion-twin.com/pipermail/haxe/2009-November/031494.html
http://lists.motion-twin.com/pipermail/haxe/2009-November/031497.html

What version of the product are you using? On what operating system?
2.04, WinXP

Please provide any additional information below.

@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 03/01/2010, 12:28:06]
1 - fixed on SVN
2 - there is no Object in haXe, please show how it can be reproduced with haXe
3 - unlike haXe, it is not possible to declare variables as part of interfaces in AS3
4 - haXe is more smart than AS3 wrt return path detections. Add a "return null" in
haXe code, we will see if this can directly be addressed in AS3 code generator later.
5 - should be fixed on SVN (was same as (1))

@issuesbot
Copy link
Author

[comment from makc.the...@gmail.com, published at 03/01/2010, 13:22:52]
2 - there is Dynamic; whatever it translates to in AS3 needs to be explicitly cast
to ByteArray.
3 - by "properties" I meant getter/setter pair.

@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 03/01/2010, 15:04:10]

  • haXe should translate Dynamic to AS3 * , not to Object, so no manual cast should be
    required there
  • I didn't know that getter/setter could be declared in interfaces, this has now been
    fixed in the AS3 source code generator

@issuesbot
Copy link
Author

[comment from makc.the...@gmail.com, published at 03/01/2010, 16:11:47]
you're right about *, it was my mistake from mixing handmade AS3 with haXe output :(

frabbit pushed a commit to frabbit/haxe-1 that referenced this issue Apr 6, 2014
nadako pushed a commit that referenced this issue Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant