Bug 284804 - Intro Implicit None incorrectly declares CALLed subroutines as variables
Summary: Intro Implicit None incorrectly declares CALLed subroutines as variables
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 17:26 EDT by Jeffrey Overbey CLA
Modified: 2009-10-08 12:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2009-07-27 17:26:07 EDT
From the mailing list (7/17/09):

Have a program with:

call getarg(1,arg1)

After using the "Introduce Implicit None" refactoring, it added the following declaration:

real :: getarg

Which then results in:

error #6552: The CALL statement is invoking a function subprogram as a subroutine.
Comment 1 Jeffrey Overbey CLA 2009-10-08 12:12:15 EDT
Fixed in CVS