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