[svn] r6974: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n

VladD2 svnadmin at nemerle.org
Tue Nov 21 14:30:53 CET 2006


Log:
Comment.

Author: VladD2
Date: Tue Nov 21 14:30:51 2006
New Revision: 6974

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ExprFinder.n	Tue Nov 21 14:30:51 2006
@@ -336,6 +336,10 @@
       localValueEntries = [];
       definitionFound = false;
       ExprWalker().Walk(typedExpressionRoot, ProcessNodeInFindLocalValueEntries);
+      //VladD2: Ïîäîçðåâàþ, ÷òî ýòî íå äóáëèêàòû, à ïðîñòî ïåðåìåííûå ñ îäèíàêîâûìè èìåíàìè. 
+      // Â Nemerle äîïóñòèìî ñîçäàâàòü imutable-ïåðåìåííûå ïåðåêðûâàþùèå èìåíà äðóãèõ imutable-ïåðåìåííûõ.
+      // Òàê ÷òî èñïîëüçîâàíèå RemoveDuplicates() ìîæåò áûòü îøèáêîé. Íàäî ðàçáèðàòüñÿ ñ ïåðåìåííûìè
+      // áîëåå äåòàëüíî. Íàõîäèòü ñàìîå âëîæåííîå îáúÿâëåíèå.
       def entries = localValueEntries.Reverse().RemoveDuplicates(); // phantom: test case 3 (test project 1) returns duplicate entries, TODO: see why
       Debug.WriteLine($"Found $(entries.Length) entries:");
       // why it doesn't guess about type?



More information about the svn mailing list