Allow pure setters by making constant Dynamic internally constant as well.

This commit is contained in:
Stephen Chung
2021-05-15 09:45:40 +08:00
parent 4f14fd55f5
commit 60dc41bfac
16 changed files with 138 additions and 163 deletions

View File

@@ -128,7 +128,7 @@ fn test_custom_syntax_raw() -> Result<(), Box<EvalAltResult>> {
s => Err(ParseError(
Box::new(ParseErrorType::BadInput(LexError::ImproperSymbol(
s.to_string(),
"".to_string(),
Default::default(),
))),
Position::NONE,
)),