This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


    from bb927160e PackageFooterEmitter: fix null exception from 
getReturnTypeNode() on getter function node
     new d8d3b4235 New compiler option --infer-types to enable type inference 
for variables, constants, parameters, and return types
     new 4934fcc68 BinaryOperatorNodeBase: resolving type of && and || logical 
operators now accounts for the common base type, using the same algorithm as 
type inference
     new c605ace5d TernaryOperator: resolving type of ?: ternary  operator now 
accounts for the common base type, using the same algorithm as type inference
     new a4f5d2b66 SemanticUtils: fix bad cast for class/interface common base 
type detection and rename resolveCommonBaseInterface to resolveCommonBaseType
     new 1d2833a64 Release Notes: infer-types compiler option

The 5 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:
 RELEASE_NOTES.md                                   |    5 +
 .../royale/compiler/config/Configuration.java      |   18 +
 .../royale/compiler/projects/ICompilerProject.java |    5 +
 .../codegen/js/goog/IJSGoogDocEmitter.java         |    4 +-
 .../internal/codegen/js/goog/JSGoogDocEmitter.java |   69 +-
 .../codegen/js/royale/JSRoyaleDocEmitter.java      |   21 +-
 .../codegen/js/royale/TestRoyaleInferTypes.java    |  584 ++++++
 .../royale/compiler/internal/test/ASTestBase.java  |    7 +
 .../internal/as/codegen/ABCGeneratingReducer.java  |   22 +
 .../internal/definitions/AccessorDefinition.java   |    9 +-
 .../internal/definitions/FunctionDefinition.java   |   17 +
 .../internal/definitions/GetterDefinition.java     |   26 +
 .../internal/definitions/ParameterDefinition.java  |   21 +
 .../internal/definitions/SetterDefinition.java     |   23 +
 .../internal/definitions/VariableDefinition.java   |   21 +
 .../internal/parsing/as/ConfigProcessor.java       |    6 +
 .../compiler/internal/projects/ASCProject.java     |    6 +
 .../compiler/internal/projects/RoyaleProject.java  |   15 +
 .../projects/RoyaleProjectConfigurator.java        |    2 +
 .../semantics/MethodBodySemanticChecker.java       |    8 +
 .../compiler/internal/semantics/SemanticUtils.java |  420 ++++-
 .../internal/tree/as/BinaryOperatorNodeBase.java   |   11 +-
 .../compiler/internal/tree/as/ReturnNode.java      |   15 +-
 .../internal/tree/as/TernaryOperatorNode.java      |   11 +-
 compiler/src/test/java/as/ASFeatureTestsBase.java  |    7 +
 compiler/src/test/java/as/ASInferTypesTests.java   | 1912 ++++++++++++++++++++
 26 files changed, 3233 insertions(+), 32 deletions(-)
 create mode 100644 
compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleInferTypes.java
 create mode 100644 compiler/src/test/java/as/ASInferTypesTests.java

Reply via email to