mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-05-06 09:47:56 +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
|
||||
}
|
||||
|
||||
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