mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-28 11:16:49 +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