fix bugs in call_with_inference_limit

This commit is contained in:
Mark Thom
2018-02-23 00:16:40 -07:00
parent 5c5257bdbd
commit 8d182b3f02
7 changed files with 65 additions and 50 deletions

View File

@@ -642,8 +642,8 @@ macro_rules! remove_inference_counter {
}
macro_rules! inference_level {
() => (
Line::BuiltIn(BuiltInInstruction::InferenceLevel)
($r1:expr, $r2:expr) => (
Line::BuiltIn(BuiltInInstruction::InferenceLevel($r1, $r2))
)
}