Fix SchemeMeta.attach

This commit is contained in:
Alexander Nozik 2023-03-31 14:00:55 +03:00
parent b6949310ea
commit 4543648cda
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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])
}