We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9485b5 commit f0c1fa1Copy full SHA for f0c1fa1
starlark/src/values/typing/type_compiled/compiled.rs
@@ -86,7 +86,6 @@ enum TypingError {
86
87
pub(crate) trait TypeCompiledDyn: Debug + Allocative + Send + Sync + 'static {
88
fn as_ty_dyn(&self) -> &Ty;
89
- fn matches_dyn(&self, value: Value) -> bool;
90
fn is_runtime_wildcard_dyn(&self) -> bool;
91
fn to_frozen_dyn(&self, heap: &FrozenHeap) -> TypeCompiled<FrozenValue>;
92
}
@@ -103,9 +102,6 @@ where
103
102
fn as_ty_dyn(&self) -> &Ty {
104
&self.ty
105
106
- fn matches_dyn(&self, value: Value) -> bool {
107
- self.type_compiled_impl.matches(value)
108
- }
109
fn is_runtime_wildcard_dyn(&self) -> bool {
110
self.type_compiled_impl.is_wildcard()
111
0 commit comments