Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345493 - [Refactoring] Change To Vector Notation
Summary: [Refactoring] Change To Vector Notation
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: 8.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 15:48 EDT by Mariano Mendez CLA
Modified: 2012-06-12 16:15 EDT (History)
1 user (show)

See Also:


Attachments
the patch and an image (134.90 KB, application/x-gzip)
2011-05-11 15:49 EDT, Mariano Mendez CLA
no flags Details
patch to solve messages problems (6.10 KB, patch)
2012-05-25 11:46 EDT, Mariano Mendez CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!