mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Make Iterable translation work in generic types
This commit is contained in:
parent
b4f8818196
commit
8e788fbb46
@ -466,7 +466,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
|
||||
{
|
||||
if (ElementType != null)
|
||||
{
|
||||
TemplateUtilities.SubstituteInType(ElementType, args);
|
||||
ElementType = TemplateUtilities.SubstituteInType(ElementType, args);
|
||||
}
|
||||
base.Apply(args);
|
||||
}
|
||||
@ -2595,10 +2595,14 @@ namespace Twiglet.CS2J.Translator.TypeRep
|
||||
}
|
||||
if (Indexers != null)
|
||||
{
|
||||
foreach(IndexerRepTemplate i in Indexers)
|
||||
{
|
||||
i.Apply(args);
|
||||
}
|
||||
foreach (IndexerRepTemplate i in Indexers)
|
||||
{
|
||||
i.Apply(args);
|
||||
}
|
||||
}
|
||||
if (Iterable != null)
|
||||
{
|
||||
Iterable.Apply(args);
|
||||
}
|
||||
base.Apply(args);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user