mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Switch yaml.Parser to parse binary scalars as Bytes (#1277)
This commit is contained in:
@@ -32,7 +32,7 @@ module pkl.yaml
|
||||
/// | !!seq | [Listing] |
|
||||
/// | !!set | [Listing] |
|
||||
/// | !!map | [Dynamic] or [Mapping] depending on [Parser.useMapping] |
|
||||
/// | !!binary | [String] |
|
||||
/// | !!binary | [Bytes] |
|
||||
/// | !!timestamp | [String] |
|
||||
///
|
||||
/// The element order of YAML sequences, sets, and mappings is maintained.
|
||||
@@ -88,4 +88,4 @@ class Parser {
|
||||
}
|
||||
|
||||
/// Pkl representation of a YAML value.
|
||||
typealias Value = Null | Boolean | Number | String | Listing | Dynamic | Mapping
|
||||
typealias Value = Null | Boolean | Number | String | Bytes | Listing | Dynamic | Mapping
|
||||
|
||||
Reference in New Issue
Block a user