forked from M-Labs/nac3
fix unsupported default parameter error message
This commit is contained in:
parent
970f075490
commit
de8fc264d7
|
@ -461,6 +461,6 @@ pub fn parse_parameter_default_value(default: &ast::Expr, resolver: &(dyn Symbol
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
_ => unimplemented!("only constant default is supported now at {}", default.location),
|
_ => Err(format!("unsupported default parameter at {}", default.location))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue