fix(es): Remove useless message (#6882)

This commit is contained in:
Donny/강동윤 2023-01-31 12:21:32 +09:00 committed by GitHub
parent 1bf2b2ddbf
commit 9301703311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,9 +414,7 @@ impl Compiler {
})?;
if error {
return Err(anyhow::anyhow!("Syntax Error").context(
"error was recoverable, but proceeding would result in wrong codegen",
));
return Err(anyhow::anyhow!("Syntax Error"));
}
Ok(program)