Merge branch 'main' into redsun82/swift-case-variables

This commit is contained in:
Mathias Vorreiter Pedersen
2023-10-30 10:14:45 +00:00
729 changed files with 17787 additions and 6789 deletions

View File

@@ -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):