X Tutup
The Wayback Machine - https://web.archive.org/web/20221109225142/https://github.com/github/codeql/pull/11190
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

Swift: extract some more Expr #11190

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Swift: extract some more Expr #11190

wants to merge 5 commits into from

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Nov 9, 2022

No description provided.

@redsun82 redsun82 requested a review from AlexDenisov Nov 9, 2022
@redsun82 redsun82 requested a review from a team as a code owner Nov 9, 2022
@github-actions github-actions bot added the Swift label Nov 9, 2022
/**
* `#fileLiteral`, `#imageLiteral` and `#colorLiteral` expressions, which are used in playgrounds.
*/

Check warning

Code scanning / CodeQL

Class QLDoc style.

The QLDoc for a class should start with 'A', 'An', or 'The'.
class ObjectLiteralExpr extends Synth::TObjectLiteralExpr, LiteralExpr {
override string getAPrimaryQlClass() { result = "ObjectLiteralExpr" }

/**
* Gets the
Copy link
Contributor

@MathiasVP MathiasVP Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat? 😂

Copy link
Contributor Author

@redsun82 redsun82 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm 😆 will look into it tomorrow. Also the trailing . all alone at the end is weird

* An ambiguous expression that might refer to multiple declarations. This will be present only
* for failing compilations.
Copy link
Contributor

@MathiasVP MathiasVP Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity: Will it ever then actually be in a real database?

Copy link
Contributor Author

@redsun82 redsun82 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think not, not unless:

  • there's an actual failure in the compilation, or
  • there's a bug in our extractor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants
X Tutup