Apply pkl formatter to codebase (#1236)

This applies the Pkl formatter to `stdlib/` and `.circleci/`
This commit is contained in:
Daniel Chao
2025-10-09 15:16:38 -07:00
committed by GitHub
parent 42dcad25c6
commit 8c5bd3b7dd
19 changed files with 729 additions and 605 deletions

View File

@@ -216,7 +216,7 @@ external class Module extends Declaration {
/// A class or type alias declaration.
abstract external class TypeDeclaration extends Declaration {
/// The class or type alias reflected upon.
abstract hidden reflectee: base.Class|base.TypeAlias
abstract hidden reflectee: base.Class | base.TypeAlias
/// The module enclosing this type declaration.
///
@@ -298,7 +298,7 @@ external class Property extends Declaration {
allModifiers: Set<Modifier>
/// The annotations of this module, appended with any from the containing class's superclasses.
///
///
/// Annotations are ordered starting with the current class and walking up the class hierarchy.
@Since { version = "0.30.0" }
allAnnotations: List<Annotation>
@@ -341,13 +341,13 @@ external class TypeParameter {
}
/// A modifier of a [Declaration].
typealias Modifier = "abstract"|"external"|"hidden"|"open"|"fixed"|"const"
typealias Modifier = "abstract" | "external" | "hidden" | "open" | "fixed" | "const"
/// The variance of a [TypeParameter].
///
/// An "in" type parameter is contravariant.
/// An "out" type parameter is covariant.
typealias Variance = "in"|"out"
typealias Variance = "in" | "out"
/// A type as it occurs, say, in a type annotation.
abstract external class Type {