diff --git a/JSIL.Libraries/Sources/JSIL.Core.js b/JSIL.Libraries/Sources/JSIL.Core.js index b4dca23dc..918797c6c 100644 --- a/JSIL.Libraries/Sources/JSIL.Core.js +++ b/JSIL.Libraries/Sources/JSIL.Core.js @@ -331,6 +331,10 @@ JSIL.$GetSpecialType = function (name) { for (var i = 0, l = ga.length; i < l; i++) { var type = ga[i]; result += "[" + type.get_AssemblyQualifiedName() + "]"; + if(i(); + var dictionaryType = dictionary.GetType(); + var type = Type.GetType(dictionaryType.FullName); + if (type != null) + Activator.CreateInstance(type); + Console.WriteLine( + "{0},{1}", dictionaryType.Name,dictionaryType.FullName + ); + } +} + +public class A { } +public class B { } \ No newline at end of file diff --git a/Tests/SimpleTests.csproj b/Tests/SimpleTests.csproj index db50703be..85364afb5 100644 --- a/Tests/SimpleTests.csproj +++ b/Tests/SimpleTests.csproj @@ -151,6 +151,7 @@ +