Package org.apache.flex.compiler.problems

Examples of org.apache.flex.compiler.problems.ImplicitCoercionToUnrelatedTypeProblem


            IDefinition exprType = expressionNode.resolveType(project);
            if (exprType != null)
            {
                if (!SemanticUtils.isValidTypeConversion(expectedType, exprType, project, builder.getCompilationUnit().isInvisible()))
                {
                    ICompilerProblem problem = new ImplicitCoercionToUnrelatedTypeProblem(
                            expressionNode, exprType.getBaseName(), expectedType.getBaseName());
                    builder.addProblem(problem);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.ImplicitCoercionToUnrelatedTypeProblem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.