This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
SDK update + fix failing AST transformation for a valid JS file #57
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
CI is failing with latest SDK, presumably due to bblfsh/sdk#356, logs |
There are 788 log lines mentioning failing checks, with 7 uniq failures
Those are
|
This was referenced Feb 14, 2019
on the latest master it's 9 failing checks now
going to address them in this PR. |
7dd666c
to
c6b0eb7
Compare
Keeping the comment above updated with the current status |
a8efdb3
to
998ff2c
Compare
All import issues resolved, 3 more |
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Fix for: check: key "specifiers": key "Node": unused field(s) on node uast:Identifier: @pos Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Flow: right now only function return type annotations are supported. Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Few more fixed and sever new showed up, #57 (comment) scope updated. To check current status:
|
Skip mapping 'optional' field on Indetifier for Flow "Optional Prameters" https://flow.org/en/docs/types/functions/#toc-optional-parameters `function acceptsNumberMaybe (value?: number) {}` Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Just 4 to go :) |
Skip mapping Flow type annotation for function's - arguments - return types in Sematic UAST Signed-off-by: Alexander Bezzubov <bzz@apache.org>
and CI is green now! 🎉 Technically, SDK update is finished BUT 3 errors above are a fix for #56 and would have very similar changes so going to take care of them here as well. |
Parenthisized literals result in this information saved in 'extra' field. Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Instead of dropping comments of ImportNamespaceSpecifier as implemented in bblfsh#60, we just skip both, leading and trailing comments now. This avoids loosing a Comment node in UAST. Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Done, scope an description updated, everything is ready for review 🚀 |
juanjux
reviewed
Mar 5, 2019
juanjux
approved these changes
Mar 5, 2019
dennwc
approved these changes
Mar 5, 2019
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
dennwc
approved these changes
Mar 5, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Update SDK to latest version and verifies that it fixes #56 and #61
Update: it does not,
JSXIdentifier
touast:Identifier
from UASTv2 has no tokens for JSX Nodes #58 in f20563e