Skip to content
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

fix null values in static analysis parsing results #863

Merged
merged 6 commits into from
Sep 7, 2023

Conversation

maxfisher-g
Copy link
Contributor

When parsing fails for a file (because it is not JavaScript), the result structs contained null arrays, rather than empty ones. This is inconsistent with typical behaviour for the rest of static analysis.

Also remove unnecessary pointer indirection when storing parsing.SingleResult in a slice.

maxfisher-g and others added 4 commits September 6, 2023 19:16
Signed-off-by: Max Fisher <maxfisher@google.com>
Signed-off-by: Max Fisher <maxfisher@google.com>
…ointer indirection

Signed-off-by: Max Fisher <maxfisher@google.com>
Base automatically changed from schema_top_level_created to main September 7, 2023 04:27
…f 'file' command doesn't work (#865)

Signed-off-by: Max Fisher <maxfisher@google.com>
@maxfisher-g maxfisher-g enabled auto-merge (squash) September 7, 2023 05:03
@maxfisher-g maxfisher-g disabled auto-merge September 7, 2023 05:04
@maxfisher-g maxfisher-g enabled auto-merge (squash) September 7, 2023 05:08
@maxfisher-g maxfisher-g merged commit e88f265 into main Sep 7, 2023
@maxfisher-g maxfisher-g deleted the fix_null_results branch September 7, 2023 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants