This PR is prompted by the discovery that the provided code in chapters 15 and 16 is unable to migrate successfully. This issue stems from the absence of an assert_single for Vampire in the can_enter function.
Interestingly, this problem is resolved in chapter 17. The modification in chapter 17 includes an update to the can_enter function, where an assert_single for Vampire has been added.
This PR is prompted by the discovery that the provided code in chapters 15 and 16 is unable to migrate successfully. This issue stems from the absence of an
assert_single
forVampire
in thecan_enter
function.Interestingly, this problem is resolved in chapter 17. The modification in chapter 17 includes an update to the
can_enter
function, where anassert_single
forVampire
has been added.