fix IType generation bug

This commit is contained in:
vms 2020-07-17 18:09:22 +03:00
parent e46c5e08b1
commit 7e9c247f82

View File

@ -32,7 +32,7 @@ pub(crate) fn ptype_to_itype(pty: &ParsedType) -> IType {
ParsedType::F64 => IType::F64,
ParsedType::Boolean => IType::I32,
ParsedType::Utf8String => IType::String,
ParsedType::ByteVector => IType::String,
ParsedType::ByteVector => IType::ByteArray,
ParsedType::Record(_) => unimplemented!(),
}
}