mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-12-02 15:27:11 +00:00
Support the dyn compiler in the builder pattern
This commit is contained in:
1 file changed
+4
@@ -192,6 +192,10 @@ impl Compiler {
|
|||||||
compiler.build(self.input).await
|
compiler.build(self.input).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub async fn dyn_try_build(self, compiler: &dyn DynSolidityCompiler) -> Result<CompilerOutput> {
|
||||||
|
compiler.build(self.input).await
|
||||||
|
}
|
||||||
|
|
||||||
pub fn input(&self) -> &CompilerInput {
|
pub fn input(&self) -> &CompilerInput {
|
||||||
&self.input
|
&self.input
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user