Meta builder made inline
This commit is contained in:
parent
2098d96561
commit
221cc65b78
@ -2,10 +2,12 @@
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- Yaml meta format based on yaml.kt
|
||||
|
||||
### Changed
|
||||
- `ListValue` and `DoubleArrayValue` implement `Iterable`.
|
||||
- Changed the logic of `Value::isList` to check for type instead of size
|
||||
- `Meta{}` builder made inline
|
||||
|
||||
### Deprecated
|
||||
|
||||
|
@ -142,4 +142,4 @@ public fun Meta.edit(builder: MetaBuilder.() -> Unit): MetaBuilder = builder().a
|
||||
* Build a [MetaBuilder] using given transformation
|
||||
*/
|
||||
@Suppress("FunctionName")
|
||||
public fun Meta(builder: MetaBuilder.() -> Unit): MetaBuilder = MetaBuilder().apply(builder)
|
||||
public inline fun Meta(builder: MetaBuilder.() -> Unit): MetaBuilder = MetaBuilder().apply(builder)
|
Loading…
Reference in New Issue
Block a user