You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-commits@lucene.apache.org by va...@apache.org on 2011/03/04 04:48:21 UTC
svn commit: r1077171 - /lucene/pylucene/trunk/jcc/jcc/cpp.py
Author: vajda
Date: Fri Mar 4 03:48:21 2011
New Revision: 1077171
URL: http://svn.apache.org/viewvc?rev=1077171&view=rev
Log:
added support for missing WildcardType case
Modified:
lucene/pylucene/trunk/jcc/jcc/cpp.py
Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=1077171&r1=1077170&r2=1077171&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Fri Mar 4 03:48:21 2011
@@ -239,7 +239,7 @@ def addRequiredTypes(cls, typeset, gener
elif GenericArrayType.instance_(cls):
gat = GenericArrayType.cast_(cls)
addRequiredTypes(gat.getGenericComponentType(), typeset, True)
- elif not TypeVariable.instance_(cls):
+ elif not (TypeVariable.instance_(cls) or WildcardType.instance_(cls)):
raise NotImplementedError, repr(cls)
else:
if cls not in typeset: