Fix SchemeMeta.attach
This commit is contained in:
parent
b6949310ea
commit
4543648cda
@ -36,7 +36,7 @@ ksciencePublish {
|
||||
if (isInDevelopment) {
|
||||
"https://maven.pkg.jetbrains.space/spc/p/sci/dev"
|
||||
} else {
|
||||
"https://maven.pkg.jetbrains.space/spc/p/sci/release"
|
||||
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
|
||||
}
|
||||
)
|
||||
sonatype()
|
||||
|
@ -120,7 +120,7 @@ public open class Scheme : Described, MetaRepr, MutableMetaProvider, Configurabl
|
||||
@DFExperimental
|
||||
override fun attach(name: Name, node: ObservableMutableMeta) {
|
||||
//TODO implement zero-copy attachment
|
||||
setMeta(name, meta)
|
||||
setMeta(name, node)
|
||||
node.onChange(this) { changeName ->
|
||||
setMeta(name + changeName, this[changeName])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user