[svn] r7653: vs-plugin/trunk/Nemerle.Compiler.Utils: Nemerle.Completion2/CompilerConcreteDefinitions/Intel...

VladD2 svnadmin at nemerle.org
Sat May 5 14:04:07 CEST 2007


Log:
Add call of base.RunDelayedTypings() (enable DelayedTyping).

Author: VladD2
Date: Sat May  5 14:04:05 2007
New Revision: 7653

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeTyper.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/NemerleCodeParser.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n
==============================================================================
Files vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n	(original) and vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n	Sat May  5 14:04:05 2007 differ

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeTyper.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeTyper.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeTyper.n	Sat May  5 14:04:05 2007
@@ -30,6 +30,8 @@
 
     protected override RunSecondPass (_meth : MethodBuilder) : void
     {
+      RunDelayedTypings();
+
       def t2 = Typer2 (CurrentTypeBuilder, _meth);
       t2.Run ();
 

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/NemerleCodeParser.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/NemerleCodeParser.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/NemerleCodeParser.n	Sat May  5 14:04:05 2007
@@ -315,7 +315,6 @@
           }
 
         | <[ $obj.$func(..$parms) ]> as call => 
-          _ = call;
           match (call.func.TypedObject)
           {
             | TExpr.StaticRef(from, mem, type_parms) when mem.MemberKind == MemberTypes.Constructor =>
@@ -329,7 +328,7 @@
                 parms.MapToArray(ToExpression));
           }
 
-        | <[ $func(..$parms) ]> => 
+        | <[ $func(..$parms) ]> => // TODO: Add support of ctor's
           CodeMethodInvokeExpression(
             CodeMethodReferenceExpression(null, func.ToString()),
             parms.MapToArray(ToExpression));



More information about the svn mailing list