You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we try to eliminate the cfg parameter of get_field by adding &'a FromMetaContext to ParseObject then we end up with annoying lifetime problems due to impl FnOnce(&mut ParseObject) parameters. Either need to make it ParseObject<'a, 'c>, or we need to make FromMeta take &'a FromMetaContext.
FromMeta needs a Custom(crate::error::CompileError), variant.
write_to_stream/read_from_stream will use AnmFile<Encoded>
Advantages:
Changes are made almost exclusively to anm.rs, std.rs, msg.rs, and cli_defs.rs.
We might want a separate pass for conversion of args to blobs? This could go hand-in-hand with that. (and then that would be the only pass that needs to know anything about the encoding; nice separation of concerns)
Problems with this solution:
How will we do these errors if the "subdir/file.png" is now an Encoded string of unknown encoding?
error: entry for 'subdir/file.png' is missing required field 'width'!
(if this data is available in an existing anm file, try using `-i ANM_FILE`)
No description provided.
The text was updated successfully, but these errors were encountered: