Splitter fixes (#483)
* Add failing tests * Model statements depending on public args as cheaper than those depending on private args * Tidying * Fix unnecessary propagation of unused public args * More tidying * Tidy test comments * Fix incorrect Delete arities
This commit is contained in:
parent
e950661090
commit
f6c6ec43ef
3 changed files with 280 additions and 140 deletions
|
|
@ -287,7 +287,8 @@ fn format_public_args_at_split_error(
|
|||
|
||||
msg.push_str(&format!(
|
||||
" Statements {}-{} in this segment\n",
|
||||
context.statement_range.0, context.statement_range.1
|
||||
context.statement_range.0,
|
||||
context.statement_range.1 - 1
|
||||
));
|
||||
|
||||
if !context.incoming_public.is_empty() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue