Zef tries to only load code from the version it was packaged with by doing use Zef:ver($?DISTRIBUTION.meta<version>). However, some CompUnit::Repository::Registry return a Distribution that only has a ver (not version) field which would result in use Zef:ver<> which isn't a legal import statement. The adds a fallback to the ver field, as well as explicitly adding the Raku defaults for all import adverbs.
Zef tries to only load code from the version it was packaged with by doing
use Zef:ver($?DISTRIBUTION.meta<version>)
. However, someCompUnit::Repository::Registry
return aDistribution
that only has aver
(notversion
) field which would result inuse Zef:ver<>
which isn't a legal import statement. The adds a fallback to thever
field, as well as explicitly adding the Raku defaults for all import adverbs.