Closed tomasaschan closed 10 years ago
Thanks for moving on this! I made a few comments above about things that need fixing.
@BobPortmann: You are right, ideally in
should be used instead of haskey
for Env
s. But for Scope
s it shouldn't. Anyway, that can be fixed later. Once the other stuff is fixed I would like to get this merged so that the package is unbroken.
@toivoh I'm not sure I'll be able to tell which usages of haskey
are on Env
s and which ones are on Scope
s, so I'm probably not the right person to make the switch to in
if it shouldn't be everywhere.
Is there anything else you want me to fix with this PR before it's merge-ready?
@tlycken: That's fine, I can deal with in
and haskey
later.
I was sure that I added a line note about :ref
yesterday, but it must have got lost. Anyway, if you take away the change from :ref
to :getindex
and the changes in attic/
, I'm ready to merge this.
There. I guess there's room for squashing this a little if you care about it.
That's ok, I can take it like this. Thanks!
Great, thanks! =)
In the massive deletion of deprecated functions when rc1 was released (#59),
Base.has
,Base.ref
andBase.assign
were removed.I've simply find/replaced them with their replacements (
haskey
,getindex
andsetindex!
), so I might very well have introduced new problems here, but all tests pass and my own debugging was able to progress smoothly (where it previously broke as soon as I tried to print something).