Previously, slicec parsed files in a non-deterministic order, making it impossible to control which files get parsed first.
Now that this is no longer the case, this PR changes our logic so that we always parse the built-in-Slice-files first.
This way, if a user does have a conflict with these Slice definitions, the redefinition error will appear in their files.
(slicec will first parse the built-in-files, and unless we really screwed up, there will be no redefinitions in them)
Now that
slicec
parses files in the order you provide them (see https://github.com/icerpc/slicec/pull/694)... this PR fixes #49.Previously,
slicec
parsed files in a non-deterministic order, making it impossible to control which files get parsed first. Now that this is no longer the case, this PR changes our logic so that we always parse the built-in-Slice-files first.This way, if a user does have a conflict with these Slice definitions, the redefinition error will appear in their files. (
slicec
will first parse the built-in-files, and unless we really screwed up, there will be no redefinitions in them)