Encapsulate as new stored procedure issue

mbuismbuis Posts: 5
edited April 18, 2007 10:22AM in SQL Refactor Previous Versions
There is a bug in the 1.1 implementation is that the code extracted does not honor GOTO statements within the code being extracted. I think that the correct behavior would be to extract the body of the GOTO if there are no other references to it, or copy it if they do.

As the body of the GOTO may in turn have GOTOs, you'd need to reapply this atom of the refactoring multiple times in some cases, extracting or copying each GOTO body as appropriate

Comments

Sign In or Register to comment.