This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git.
from 452be6f fix for 'setter not generating appropriate binding code' (if
it is 'Bindable' because of its containing Class).
new a8b4701 Fix for an error with setter-only being considered Bindable
(e.g. set strand inside a Bindable Model)
new 5540e26 Fix a scenario that does not make sense: there is an ancestor
setter, and only a local getter defined. Match Flex 4 behaviour with a Compiler
Problem. Added a series of compiler tests for Bindables (only checking for
successful compilation, not checking the valid behaviour of actual codegen
output - that will be in framework tests).
new 9c2cce6 Alignment with Flex : added warnings for redundant [Bindable]
tags.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../internal/codegen/js/jx/AccessorEmitter.java | 4 +-
.../internal/as/codegen/BindableHelper.java | 37 +++++++++++++
.../as/codegen/ClassDirectiveProcessor.java | 60 ++++++++++++++--------
.../problems/BindableGetterCodeGenProblem.java | 20 ++++++++
...oblem.java => RedundantBindableTagProblem.java} | 23 +++++----
5 files changed, 110 insertions(+), 34 deletions(-)
create mode 100644
compiler/src/main/java/org/apache/royale/compiler/problems/BindableGetterCodeGenProblem.java
copy
compiler/src/main/java/org/apache/royale/compiler/problems/{MXMLDatabindingSourceNotBindableProblem.java
=> RedundantBindableTagProblem.java} (65%)