[svn] r7573: nemerle/trunk/ncc/typing/LocalValue.n

divan svnadmin at nemerle.org
Mon Apr 2 18:28:22 CEST 2007


Log:
Fix base ctor call in LocalValue ctor.

Author: divan
Date: Mon Apr  2 18:28:20 2007
New Revision: 7573

Modified:
   nemerle/trunk/ncc/typing/LocalValue.n

Modified: nemerle/trunk/ncc/typing/LocalValue.n
==============================================================================
--- nemerle/trunk/ncc/typing/LocalValue.n	(original)
+++ nemerle/trunk/ncc/typing/LocalValue.n	Mon Apr  2 18:28:20 2007
@@ -265,8 +265,10 @@
     public this (defined_in : Fun_header, name : string, name_location : Location,
                  ty : TyVar, kind : Kind, is_mutable : bool)
     {
-      unless (name_location.IsEmpty)
-        base(name_location);
+      if (name_location.IsEmpty)
+        base ();
+      else
+        base (name_location);
 
       this.defined_in = defined_in;
       this.name = name;



More information about the svn mailing list