-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nitunit: conflicting name between modules and packages #2296
Comments
Docunits are collected and written as genuine nit source files. The invoked Unfortunately nitc fails Some solutions:
|
…with default values This PR fits in the ongoing work to improve deserializing from plain JSON objects. The JSON deserialization engine no longer raises errors on missing attributes when a default value is available. Attributes may be missing because the JSON object come from a third-party API or when loading serialized data from a previous version of the software. Default values include simple default values (`var x = 4`), lazy attributes and nullable types (which are set to `null`). This does not yet include `optional` attributes, more work would be needed. The test/example can be activated when #2296 is fixed. Pull-Request: #2302 Reviewed-by: Jean Privat <[email protected]> Reviewed-by: Alexandre Terrasa <[email protected]>
Signed-off-by: Alexis Laferrière <[email protected]>
Signed-off-by: Alexis Laferrière <[email protected]>
Signed-off-by: Alexis Laferrière <[email protected]>
nitunit fails to parse tests in the module
lib/json/serialization.nit
. There appears to be an importation conflict betweenjson::serialization
and::serialization
.To reproduce, you need to first remove the
nitish
from existing tests/examples:The text was updated successfully, but these errors were encountered: