mirror of
https://github.com/apple/pkl.git
synced 2026-05-28 01:29:15 +02:00
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:
+4
@@ -49,6 +49,10 @@ stringLiteral: "yes"
|
||||
constrained: String(length.isBetween(3, 10))
|
||||
aliased: MyMap<Person>
|
||||
|
||||
hidden hiddenProp: String
|
||||
const constProp: String = "the const prop"
|
||||
fixed fixedProp: String = "the fixed prop"
|
||||
|
||||
/// class doc comment
|
||||
@MyAnn { text = "class annotation" }
|
||||
open class Person {
|
||||
|
||||
Reference in New Issue
Block a user