Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345493

Summary: [Refactoring] Change To Vector Notation
Product: [Tools] PTP Reporter: Mariano Mendez <marianomendez>
Component: Photran.Refactoring EngineAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: com-eclipse-dot-org
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
the patch and an image
none
patch to solve messages problems none

Description Mariano Mendez CLA 2011-05-11 15:48:56 EDT
Build Identifier: Build id: 20100917-0705

This refactoring transforms a Do loop statement that uses an array to iterate through it into a vector notation operation. The transformation will fail :
   - If a do loop statement is not selected
   - If there are index dependencies
   - If an old style do loop is selected

     Do I= 1,10 
        v(i) =1
      end do
it will be transformed into 

   v(1:10) =1


Reproducible: Always
Comment 1 Mariano Mendez CLA 2011-05-11 15:49:45 EDT
Created attachment 195419 [details]
the patch and an image
Comment 2 Jeffrey Overbey CLA 2012-03-01 00:25:05 EST
Hi Mariano,

You can commit this to the Git repository yourself now that you're a committer.  :-)  If you need any help, let me know.

I'll reassign this to you for now.  Please close this bug after it's committed (and the user's guide is updated).  Thanks!
Comment 3 Jeffrey Overbey CLA 2012-05-07 16:25:30 EDT
I have committed this to master in order to meet the Juno feature freeze.

Code review/testing/string externalization/documentation are pending.
Comment 4 Mariano Mendez CLA 2012-05-25 11:44:44 EDT
I found a bug regarding error messages. I will submit a patch to fix that bug
Comment 5 Mariano Mendez CLA 2012-05-25 11:46:16 EDT
Created attachment 216295 [details]
patch to solve messages problems

this patch solves messages problems found in the refactoring.
Comment 6 Jeffrey Overbey CLA 2012-05-26 15:50:13 EDT
I committed the patch.  Thanks!
Comment 7 Jeffrey Overbey CLA 2012-06-12 16:15:26 EDT
Closing for Juno; documentation pending.  Thanks!