Commented fake overrides in Meta to work around KT-41765
This commit is contained in:
parent
b229de3eb7
commit
4ab9751bea
@ -132,11 +132,12 @@ public interface Meta : MetaRepr, ItemProvider {
|
||||
|
||||
override fun toMeta(): Meta = seal()
|
||||
|
||||
override fun equals(other: Any?): Boolean
|
||||
|
||||
override fun hashCode(): Int
|
||||
|
||||
override fun toString(): String
|
||||
//TODO to be restored on 1.4.30 after https://youtrack.jetbrains.com/issue/KT-41765 si fixed
|
||||
// override fun equals(other: Any?): Boolean
|
||||
//
|
||||
// override fun hashCode(): Int
|
||||
//
|
||||
// override fun toString(): String
|
||||
|
||||
public companion object {
|
||||
public const val TYPE: String = "meta"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package hep.dataforge.workspace
|
||||
|
||||
import hep.dataforge.context.Context
|
||||
import hep.dataforge.context.resolve
|
||||
import hep.dataforge.context.gather
|
||||
import hep.dataforge.context.toMap
|
||||
import hep.dataforge.data.DataNode
|
||||
import hep.dataforge.meta.Meta
|
||||
@ -19,7 +19,7 @@ public class SimpleWorkspace(
|
||||
) : Workspace {
|
||||
|
||||
override val tasks: Map<Name, Task<*>> by lazy {
|
||||
context.resolve<Task<*>>(Task.TYPE) + tasks.toMap()
|
||||
context.gather<Task<*>>(Task.TYPE) + tasks.toMap()
|
||||
}
|
||||
|
||||
public companion object {
|
||||
|
Loading…
Reference in New Issue
Block a user