Merge branch 'expect-tuples'
This commit is contained in:
commit
c76c98f153
|
@ -981,7 +981,7 @@ impl<'a, 'b> ExprTyper<'a, 'b> {
|
|||
.push(Warning::SingleConstructorExpect {
|
||||
location: Span {
|
||||
start: location.start,
|
||||
end: kind.location_offset(),
|
||||
end: location.start + kind.location_offset(),
|
||||
},
|
||||
pattern_location: dbg!(untyped_pattern.location()),
|
||||
value_location: dbg!(untyped_value.location()),
|
||||
|
|
Loading…
Reference in New Issue