Closed lucs closed 13 years ago
I just noticed this bug and it looks like you already fixed it. Nice! I'll take a look at this.
Uh oh, your patch is gone. The codeRefBug branch is code from your fork of VimDebug. I'm not sure why.
This is mostly a note to myself. Cuz I gotta run off to have dinner nowSo my problem is I can't do this 'git pull https://github.com/lucs/VimDebug.git codeRefBug'. It looks like you deleted that branch and a few others. But somehow I can still see your patch on GitHub website when I look at my pull requests. So I was thinking its an older version of your fork, but I don't see it in the commit history of your fork.
Anyway, I cut and pasted your changes from the browser into my code. It works great. I found an edge case it doesn't address, but its still covers more edge cases than my original code. :)
Edge case: Class::MOP::Method::Generated::CODE(0xa1e4988)(accessor amount defined at lib/Currency.pm:8):
D'oh! My mistake I suppose. What happened is I did delete the branch from my clone on github. Since your master had been updated, I thought that my branch (and others I had prepared) needed to be rebased -- which I did in my copy at home, but not on github, yet, so I just deleted the branches on github. I thought having the reference in the pull request was ok, but it seems that that is not quite correct. Well, there's a github beginner for you :/
Anyway, for what it's worth, I will attempt to fix the edge case you found, and reupload the branch again (rebased on the current master).
Sorry for the inconvenience.
Fast! I merged this request. There are still a bunch of problems that come up when debugging stuff that uses Moose / Class::MOP, but this is an improvement.
This patch allows the file name to be properly extracted from strings like this one: