Offsets using parameters should not be allowed #647
Labels
core
Zserio core module
enhancement
New feature or request
schema language compatibility
This can break backward compatibility of schema language
Milestone
Consider the following schema:
Such schema is completely valid but it prevents to pass parameters using const references (parameter
offsetHolder
inRoom
cannot be passed by const reference). This brings significant complexity for implementation of generators.Because we cannot see any practical usage of this feature, it would be probable the easiest solution just to disable it. Perhaps, it will be enough to define offsets only where there are used:
The text was updated successfully, but these errors were encountered: