mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge branch 'main' into redsun82/swift-case-variables
This commit is contained in:
@@ -77,7 +77,13 @@ class AstNode(Locatable):
|
||||
@ql.hideable
|
||||
class Type(Element):
|
||||
name: string
|
||||
canonical_type: "Type"
|
||||
canonical_type: "Type" | desc("""
|
||||
This is the unique type we get after resolving aliases and desugaring. For example, given
|
||||
```
|
||||
typealias MyInt = Int
|
||||
```
|
||||
then `[MyInt?]` has the canonical type `Array<Optional<Int>>`.
|
||||
""")
|
||||
|
||||
@group("decl")
|
||||
class Decl(AstNode):
|
||||
|
||||
Reference in New Issue
Block a user