The first change prevents the warning messages similar to:
moustachu-0.13.0/moustachupkg/context.nim(30, 17) Warning: Potential object case transition, instantiate new object instead [CaseTransition]
coming from the compiler. Essentially, the newer compiler does not like the direct manipulation of a kind element because of possible memory conflict. But in practice, the library should be fine without this fix since kind is consistently checked first.
The second change is adjusting how the test references it's own library. Using the config.nims method to adjust the search path is the recommended way in the nimble documentation.
These are both small changes.
The first change prevents the warning messages similar to:
coming from the compiler. Essentially, the newer compiler does not like the direct manipulation of a
kind
element because of possible memory conflict. But in practice, the library should be fine without this fix sincekind
is consistently checked first.The second change is adjusting how the test references it's own library. Using the
config.nims
method to adjust the search path is the recommended way in the nimble documentation.