Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nine++ reported that 8ac2eec broke t/04-nativecall/00-misc.t , which I cannot reproduce. However, that commit did change the semantics slightly: instead of an Any, a Nil would be returned for a non-existing path. But since the check used //= , any subsequent attemopt would run the same code again, as //= does not differentiate between Nil and Any. This patch does not bind to the loaded hash if the path does not exist, effectively still having the same semantics as a non-existing key returns nqp::null.
- Loading branch information