[svn:parrot] r39874 - trunk/runtime/parrot/library/Test

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Jul 4 12:20:48 UTC 2009


Author: bacek
Date: Sat Jul  4 12:20:46 2009
New Revision: 39874
URL: https://trac.parrot.org/parrot/changeset/39874

Log:
[cage] Rename duplicated C<left> and C<right> variables in Test/More.pir

Modified:
   trunk/runtime/parrot/library/Test/More.pir

Modified: trunk/runtime/parrot/library/Test/More.pir
==============================================================================
--- trunk/runtime/parrot/library/Test/More.pir	Sat Jul  4 10:58:12 2009	(r39873)
+++ trunk/runtime/parrot/library/Test/More.pir	Sat Jul  4 12:20:46 2009	(r39874)
@@ -516,10 +516,10 @@
   report_diagnostic:
     ne diagnosis, '', return_it
 
-    .local string left
-    .local string right
-    right = pop position
-    left  = pop position
+    .local string left_value
+    .local string right_value
+    right_value = pop position
+    left_value  = pop position
 
     .local string nested_path
     nested_path = join '][', position
@@ -533,9 +533,9 @@
 
   show_expected:
     diagnosis  .= ': expected '
-    diagnosis  .= left
+    diagnosis  .= left_value
     diagnosis  .= ', received '
-    diagnosis  .= right
+    diagnosis  .= right_value
 
   return_it:
     test.'diag'( diagnosis )


More information about the parrot-commits mailing list