New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tricky self being resolved incorrectly #569

Closed
hurricup opened this Issue Nov 12, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@hurricup
Collaborator

hurricup commented Nov 12, 2015

package Foo;

sub somesub{
   my $self = shift;

  package main;

  $self->somemethod;   # self now being resolved as main, but should be Foo
}

@hurricup hurricup added the Bug label Nov 12, 2015

@hurricup hurricup self-assigned this Nov 12, 2015

@hurricup hurricup added this to the Version 1.2 milestone Nov 12, 2015

@hurricup hurricup modified the milestone: Version 1.2 Dec 11, 2015

@hurricup hurricup added this to the Version 1.3 milestone Dec 13, 2015

@hurricup hurricup modified the milestone: Version 1.3 Jan 28, 2016

@hurricup hurricup closed this Jul 14, 2017

hurricup added a commit that referenced this issue Aug 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment