Fixed scope analysis that did not check for undeclared variable properly
Scope analysis assumes that a method will have all its parameters passed
Calling method works