mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
Update circuit.leo
Change the 2nd variable named `character` in scope to be `character2`.
This commit is contained in:
parent
84e972c9ad
commit
26cbb3ffcf
@ -26,6 +26,6 @@ circuit Foo {
|
||||
function main(character: char) -> char {
|
||||
let f = Foo { character };
|
||||
|
||||
let character = f.character == 'a' ? 'a' : f.character;
|
||||
return character;
|
||||
let character2 = f.character == 'a' ? 'a' : f.character;
|
||||
return character2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user