fix const_eval for opts
This commit is contained in:
parent
d6dbc0e830
commit
7614a382cc
|
@ -949,6 +949,7 @@ pub fn const_eval(
|
||||||
ConstVal::None
|
ConstVal::None
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
(_, args) if args.iter().any(|&arg| arg == ConstVal::None) => None,
|
||||||
(op, args) => unimplemented!(
|
(op, args) => unimplemented!(
|
||||||
"Undefined operator or arg combination: {:?}, {:?}",
|
"Undefined operator or arg combination: {:?}, {:?}",
|
||||||
op,
|
op,
|
||||||
|
|
Loading…
Reference in a new issue