Hello,

sometime ago I ran into this issue while trying to run the Castle +
Boo stack from trunk:

"Parser Error Message: Internal compiler error: The given key was not
present in the dictionary "

See also: 
http://groups.google.com/group/castle-project-users/browse_thread/thread/2189f23125b350eb

I've got a patch right here, but I suspect this will only compile with
the latest Boo. I'm not sure where I should post this, so I'm leaving
a message right here. If anyone needs more information on this, feel
free to ask :)

The patch is:

Index: Castle.MonoRail.Views.Brail/CustomTypeSystem.cs
===================================================================
--- Castle.MonoRail.Views.Brail/CustomTypeSystem.cs     (revision 5599)
+++ Castle.MonoRail.Views.Brail/CustomTypeSystem.cs     (working copy)
@@ -17,8 +17,9 @@
        using Boo.Lang.Compiler;
        using Boo.Lang.Compiler.Steps;
        using Boo.Lang.Compiler.TypeSystem;
+       using Boo.Lang.Compiler.TypeSystem.Generics;

-       // This is a custom type implementation which allows to use common
idioms such as
+  // This is a custom type implementation which allows to use common
idioms such as
        // list & date as identifiers
        public class CustomTypeSystem : TypeSystemServices
        {
@@ -39,7 +40,9 @@
        {
                public override void Run()
                {
-                       Context.TypeSystemServices = new 
CustomTypeSystem(Context);
-               }
+      Context.TypeSystemServices = new CustomTypeSystem(Context);
+      Context.RegisterService(new CallableResolutionService
(Context));
+      Context.RegisterService(new GenericsServices());
+    }
        }
 }
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to