-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refacto applicabilité #159
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mquandalle
force-pushed
the
refacto-applicability
branch
6 times, most recently
from
February 8, 2022 16:15
18efce9
to
938d89d
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
4 times, most recently
from
February 10, 2022 11:19
da36827
to
eedbc83
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
from
February 10, 2022 14:50
eedbc83
to
c7d5153
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
4 times, most recently
from
February 15, 2022 16:05
36843e1
to
bc90bf0
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
6 times, most recently
from
March 6, 2022 16:06
ca092d2
to
40ef7d1
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
from
March 6, 2022 20:58
40ef7d1
to
286bf80
Compare
Add topological sorting, which should be reusable for complete units inference. We had to ignore some specific references to avoid cyclic graphs. I believe the AST should be reworken to avoid these cycles.
Using the new infered "isNullable" property
Remove the duplicated logic in the cyclic dependencies tests
The introduction literal for not applicable values (distinct from the `false` literal) introduced several side effects in the mon-entreprise code base. The commit re-implement previous behavior in the edge cases and adds several units tests so that mon-entreprise doesn't rely unclear / unspecified behavior.
mquandalle
force-pushed
the
refacto-applicability
branch
from
March 7, 2022 05:38
286bf80
to
1939807
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
2 times, most recently
from
March 7, 2022 06:14
3872f69
to
ced4b53
Compare
johangirod
approved these changes
Mar 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est top ! Ça vaudra le coup de mettre à jour la doc pour expliquer tout ça mais ça peut attendre le merge :)
mquandalle
force-pushed
the
refacto-applicability
branch
3 times, most recently
from
March 8, 2022 09:03
0aee98d
to
c62854d
Compare
mquandalle
force-pushed
the
refacto-applicability
branch
from
March 8, 2022 10:29
c62854d
to
b087852
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivations dans #158
isNullable
on a une logique plus générale réalisé lors du parse). Évite d'avoir 2 caches distincts pour l'évaluation. Config CI and various fixes #66 (comment)Prochaines étapes :
typeof
JS), d'unité et de précision pour les nombres décimauxapplicable si: undefined
?) (j'ai reproduit les comportements actuels pour limiter les changements cassants mais il y a matière à débat)