Fix: add missing "const" and "fixed" modifiers to reflect API (#265)

This fixes an issue where the reflect API does not show fixed or const modifiers on a property.
This commit is contained in:
Daniel Chao
2024-02-29 07:02:09 -08:00
committed by Dan Chao
parent 08be512fe1
commit 906111d327
5 changed files with 20 additions and 4 deletions

View File

@@ -319,7 +319,7 @@ external class TypeParameter {
}
/// A modifier of a [Declaration].
typealias Modifier = "abstract"|"external"|"hidden"|"open"
typealias Modifier = "abstract"|"external"|"hidden"|"open"|"fixed"|"const"
/// The variance of a [TypeParameter].
///