freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <>
Subject [jira] [Closed] (FREEMARKER-64) FM3 Unification and improvement of function-like constructs
Date Tue, 08 Aug 2017 11:58:00 GMT


Daniel Dekany closed FREEMARKER-64.
       Resolution: Fixed
    Fix Version/s: 3.0.0

> FM3 Unification and improvement of function-like constructs
> -----------------------------------------------------------
>                 Key: FREEMARKER-64
>                 URL:
>             Project: Apache Freemarker
>          Issue Type: New Feature
>          Components: engine
>    Affects Versions: 3.0.0
>            Reporter: Daniel Dekany
>            Assignee: Daniel Dekany
>             Fix For: 3.0.0
> FREEMARKER-63 has introduced {{TemplateFunctionModel}}, which is the type of values that
{{#function}} creates. It should also replace {{TemplateMethodModel}} and {{TemplateMethodModelEx}},
so that we have only one interface for function-like things. (If that doesn't work out well,
we at least should remove the deprecated {{TemplateMethodModel}}, and then rename {{TemplateMethodModelEx}}
to that name. Also, we need to support the explicit selection overloaded Java methods - see
in {{CallPlace}}).
> As {{TemplateFunctionModel}} supports both positional and named parameters, the expression
language has to be upgraded to support that too.
> Things like `?isMethod` and `?isFunction` have to be reworked as well.

This message was sent by Atlassian JIRA

View raw message