ani-lang / anilang-core

Core functionality of Ani language.
Other
1 stars 0 forks source link

#119 implement method resolve type with specified return type #122

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/ani-lang/anilang-core/blob/66a8d83029452a0f03a7b76f0d0ed1302f64fbe6/anilang-context/src/main/java/com/anilang/context/listener/TypeResolveListener.java#L99


                }
            }
        }
        // TODO #119 implement method resolve type with specified return type
        if (expression instanceof AniParser.ExpressionInstancePropertyContext) {
            final AniParser.ExpressionInstancePropertyContext propertyRule =
                (AniParser.ExpressionInstancePropertyContext) expression;
            final AniParser.ExpressionValueContext value = (AniParser.ExpressionValueContext) propertyRule.expression();
            final String varId = value.primary().Identifier().getText();
            final String propertyId = propertyRule.Identifier().getText();
            final LookupParentContext varLookup = new LookupParentContext(