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