mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-17 18:11:06 +00:00
Support the dyn compiler in the builder pattern
This commit is contained in:
@@ -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