aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-19 21:46:01 +0900
committernsfisis <nsfisis@gmail.com>2026-05-19 21:46:08 +0900
commit5e31fa33c3b5cf726a57a063b8e7a070869250fe (patch)
tree98522466966fa7df483cad174ab5fc03db39bc09 /crates/shirabe/src/dependency_resolver/operation/install_operation.rs
parentc839244d8d09f3036ebfee8eef7eb6b147e593ab (diff)
downloadphp-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.tar.gz
php-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.tar.zst
php-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.zip
fix(compile): fix more random compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/dependency_resolver/operation/install_operation.rs')
-rw-r--r--crates/shirabe/src/dependency_resolver/operation/install_operation.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/shirabe/src/dependency_resolver/operation/install_operation.rs b/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
index 1835636..53b5f99 100644
--- a/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
+++ b/crates/shirabe/src/dependency_resolver/operation/install_operation.rs
@@ -34,6 +34,10 @@ impl SolverOperation for InstallOperation {
}
impl OperationInterface for InstallOperation {
+ fn as_any(&self) -> &dyn std::any::Any {
+ self
+ }
+
fn get_operation_type(&self) -> String {
Self::TYPE.to_string()
}
@@ -45,4 +49,8 @@ impl OperationInterface for InstallOperation {
fn to_string(&self) -> String {
self.show(true)
}
+
+ fn as_install_operation(&self) -> Option<&InstallOperation> {
+ Some(self)
+ }
}