uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viorel Morari (Jira)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6133) Ruta: argument name in macro action may not be equal to label variable
Date Tue, 22 Oct 2019 11:47:00 GMT

    [ https://issues.apache.org/jira/browse/UIMA-6133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16956960#comment-16956960
] 

Viorel Morari commented on UIMA-6133:
-------------------------------------

reproduced with testShareSameNameArgumentAndLabel() in MacroActionTest.java

> Ruta: argument name in macro action may not be equal to label variable
> ----------------------------------------------------------------------
>
>                 Key: UIMA-6133
>                 URL: https://issues.apache.org/jira/browse/UIMA-6133
>             Project: UIMA
>          Issue Type: Bug
>          Components: Ruta
>    Affects Versions: 2.7.0ruta
>            Reporter: Peter Kl├╝gl
>            Priority: Major
>
> {noformat}
> ACTION CreateDate(ANNOTATION year, ANNOTATION month, ANNOTATION day) = CREATE(Date, "kind"
= "DATE", "year" = year, "month" = month, "day" = day);
> ACTION CreateDateInterval(ANNOTATION startDate, ANNOTATION endDate) = CREATE(DateInterval,
"kind" = "DATEINTERVAL", "startDate" = startDate, "endDate" = endDate);
> (day:DayInd{-> d1:CreateDate(d2.year,d2.month,day)} TemporalIntervalEndIndicator 
>     d2:@Date{d2.day!=null, d2.month!=null}){-> CreateDateInterval(d1, d2)};
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message