Added a simple copy constructor to the ToolMessageData class (nested class in melnorme.lang.tooling.toolchain.ops.BuildOutputParser2).
Motivation
I'm working on RustDt/RustDt#130 . In RustDt, CompositeToolMessageData is a subclass of ToolMessageData. I want to extend CompositeToolMessageData with a constructor that takes a ToolMessageData object. The cleanest way (in my eyes) to implement such a constructor is to call the copy constructor of the super class (namely ToolMessageData). Hence the pull request.
Added a simple copy constructor to the
ToolMessageData
class (nested class inmelnorme.lang.tooling.toolchain.ops.BuildOutputParser2
).Motivation
I'm working on RustDt/RustDt#130 . In RustDt,
CompositeToolMessageData
is a subclass ofToolMessageData
. I want to extendCompositeToolMessageData
with a constructor that takes aToolMessageData
object. The cleanest way (in my eyes) to implement such a constructor is to call the copy constructor of the super class (namelyToolMessageData
). Hence the pull request.