apache / apache/royale-compiler

StackUndeflow error with (pseudo) <Subcomponent model="{somethingBindable}" />

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
113
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Needs more investigation, but the general sense of it is in the heading.

This is a reminder to try to make a minimal example to repro the issue.

The issue seems to be in MXMLDescriptor generation and is something to do with the wrong array length being generated (I think)

This was encountered when porting legacy flex code which can have quite a few 'model=something' in original component code that is not the same as Royale view models (but that is beside the point)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by creating the minimal reproduction described in the issue for a pseudo and trace MXMLDescriptor generation, focusing on the generated array length. Done means the failure is reproducible and the generated descriptor has the correct array length for this legacy model-binding case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.