Patent ID: 8438550

Claim:
A memory medium comprising program instructions, wherein the program instructions are executable to perform: as a user edits source code of an object-oriented data flow program: identifying a first data flow function in the object-oriented data flow program that comprises at least one input of a parent data type and at least one output of the parent data type; analyzing the first data flow function to determine if the at least one output will always be of the same data type as the at least one input; identifying a second data flow function in the object-oriented data flow program that comprises a program element that calls the first data flow function, passing an input parameter of a child data type of the parent data type as input; and if said analyzing determines that an output parameter returned by the at least one output of the first function will always be of the child data type, automatically modifying the source code of the program element to change the output parameter from the parent data type to the child data type.