mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 07:07:07 +03:00
Fmt
This commit is contained in:
parent
1ae833ba7c
commit
a8a8086f18
@ -73,7 +73,10 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> {
|
||||
// TODO: Use the snarkVM configurations to parameterize the check, need similar checks for structs (all in separate PR)
|
||||
// Check that the number of transitions does not exceed the maximum.
|
||||
if transition_count > 15 {
|
||||
self.emit_err(TypeCheckerError::too_many_transitions(15, input.program_id.name.span + input.program_id.network.span));
|
||||
self.emit_err(TypeCheckerError::too_many_transitions(
|
||||
15,
|
||||
input.program_id.name.span + input.program_id.network.span,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user