Remove Enum Instruction::Unpack

This commit is contained in:
j30ng 2019-09-12 15:55:36 +09:00
parent 3b99c07a1e
commit df4be1f9ce

View file

@ -1617,9 +1617,8 @@ impl<O: OutputStream> Compiler<O> {
self.compile_comprehension(kind, generators)?;
}
Starred { .. } => {
use std::string::String;
return Err(CompileError {
error: CompileErrorType::SyntaxError(String::from(
error: CompileErrorType::SyntaxError(std::string::String::from(
"Invalid starred expression",
)),
location: self.current_source_location.clone(),