lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesper Mattsson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PYLUCENE-37) Extended interfaces beyond first are ignored
Date Tue, 30 May 2017 08:17:04 GMT

     [ https://issues.apache.org/jira/browse/PYLUCENE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesper Mattsson updated PYLUCENE-37:
------------------------------------
    Description: 
When generating wrapper for a Java interface that extends more than one other interface, then
only the first extended interface is used.

In cpp.header(), the code snippets:
{code}
    if cls.isInterface():
        if interfaces:
            superCls = interfaces.pop(0)
{code}
and:
{code}
        line(out, indent, 'class %s%s : public %s {',
             _dll_export, cppname(names[-1]), absname(cppnames(superNames)))
{code}
are likely responsible.

  was:
When generating wrapper for a Java interface that extends more than one other interface, then
only the first extended interface is used.

In cpp.header(), the code snippets:
    if cls.isInterface():
        if interfaces:
            superCls = interfaces.pop(0)
and:
        line(out, indent, 'class %s%s : public %s {',
             _dll_export, cppname(names[-1]), absname(cppnames(superNames)))
are likely responsible.


> Extended interfaces beyond first are ignored
> --------------------------------------------
>
>                 Key: PYLUCENE-37
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-37
>             Project: PyLucene
>          Issue Type: Bug
>            Reporter: Jesper Mattsson
>
> When generating wrapper for a Java interface that extends more than one other interface,
then only the first extended interface is used.
> In cpp.header(), the code snippets:
> {code}
>     if cls.isInterface():
>         if interfaces:
>             superCls = interfaces.pop(0)
> {code}
> and:
> {code}
>         line(out, indent, 'class %s%s : public %s {',
>              _dll_export, cppname(names[-1]), absname(cppnames(superNames)))
> {code}
> are likely responsible.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message