mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-10-21 19:26:30 +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
|
||||
}
|
||||
|
||||
pub async fn dyn_try_build(self, compiler: &dyn DynSolidityCompiler) -> Result<CompilerOutput> {
|
||||
compiler.build(self.input).await
|
||||
}
|
||||
|
||||
pub fn input(&self) -> &CompilerInput {
|
||||
&self.input
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user