fix const_eval for opts

This commit is contained in:
Chris Fallin 2023-02-23 19:35:45 -08:00
parent d6dbc0e830
commit 7614a382cc

View file

@ -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,