Closed thlorenz closed 2 years ago
Fixing string args passed from reexported methods.
Namely the below resulted in incorrectly generated Dart code:
#[rid::export] impl Store { #[rid::export] fn get_string_len(&self, arg: String) -> usize { arg.len() } }
It was missing the toNativeInt8() call before passing the String to the lower level exported method.
toNativeInt8()
String
This change fixes that.
Fixing string args passed from reexported methods.
Namely the below resulted in incorrectly generated Dart code:
It was missing the
toNativeInt8()
call before passing theString
to the lower level exported method.This change fixes that.