mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-11-22 03:52:31 +03:00
avoid collision with another _
This commit is contained in:
parent
31586a938a
commit
34b7ebc051
@ -535,7 +535,7 @@ impl Type {
|
||||
encoder.push_str(" )");
|
||||
}
|
||||
RecordPresence::Optional => {
|
||||
let local_var = name.to_camel_case()?;
|
||||
let local_var = format!("{}_", name.to_camel_case()?);
|
||||
|
||||
let maybe_inner = match field_type {
|
||||
Type::Maybe(inner) => inner,
|
||||
|
Loading…
Reference in New Issue
Block a user