mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
fix up key in type environment for types with generic arguments
This commit is contained in:
parent
85b5e57e3c
commit
f82c7c8627
@ -261,7 +261,8 @@ namespace Twiglet.CS2J.Translator
|
|||||||
{
|
{
|
||||||
Stream s = new FileStream(fullName, FileMode.Open, FileAccess.Read);
|
Stream s = new FileStream(fullName, FileMode.Open, FileAccess.Read);
|
||||||
TypeRepTemplate t = TypeRepTemplate.newInstance(s);
|
TypeRepTemplate t = TypeRepTemplate.newInstance(s);
|
||||||
AppEnv[t.TypeName] = t;
|
// Fullname has form: <path>/<key>.xml
|
||||||
|
AppEnv[t.TypeName+(t.TypeParams != null && t.TypeParams.Length > 0 ? "'" + t.TypeParams.Length.ToString() : "")] = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Here's where we do the real work...
|
// Here's where we do the real work...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user