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);
|
||||
}
|
||||
@ -2600,6 +2600,10 @@ namespace Twiglet.CS2J.Translator.TypeRep
|
||||
i.Apply(args);
|
||||
}
|
||||
}
|
||||
if (Iterable != null)
|
||||
{
|
||||
Iterable.Apply(args);
|
||||
}
|
||||
base.Apply(args);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user