mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
formatting & test expectation
This commit is contained in:
parent
ae86532e96
commit
c5464db066
@ -15,10 +15,7 @@
|
|||||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
use indexmap::IndexMap;
|
use indexmap::IndexMap;
|
||||||
use std::{
|
use std::cell::RefCell;
|
||||||
cell::RefCell,
|
|
||||||
fmt::{Debug, Display},
|
|
||||||
};
|
|
||||||
|
|
||||||
use leo_ast::Literal;
|
use leo_ast::Literal;
|
||||||
use leo_errors::Result;
|
use leo_errors::Result;
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
namespace: Compile
|
namespace: Compile
|
||||||
expectation: Fail
|
expectation: Fail
|
||||||
outputs:
|
outputs:
|
||||||
- "Error [EPAR0370034]: global definition of `one` shadows previous definition of `one`\n --> compiler-test:6:5\n |\n 6 | mapping one: field => field;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
- "Error [EAST0372009]: variable `one` shadowed by\n --> compiler-test:8:5\n |\n 8 | transition one() -> u8 {\n 9 | return 1u8 + 1u8;\n 10 | }\n | ^\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user