Swift: make PoundDiagnostics::getKind internal

This commit is contained in:
Paolo Tranquilli
2023-11-24 06:56:12 +01:00
parent 0b57ecf0c7
commit cc6da2829c
3 changed files with 3 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ class PatternBindingDecl(Decl):
class PoundDiagnosticDecl(Decl):
""" A diagnostic directive, which is either `#error` or `#warning`."""
kind: int | desc("""This is 1 for `#error` and 2 for `#warning`.""")
kind: int | desc("""This is 1 for `#error` and 2 for `#warning`.""") | ql.internal
message: "StringLiteralExpr" | child
class PrecedenceGroupDecl(Decl):