Skip to content

Commit

Permalink
fix notices with latest V 0.4.8 610558d
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 13, 2024
1 parent bbba20d commit bc2aa29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analyzer/psi/StubBase.v
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn (s &StubBase) parent_of_type(typ StubType) ?StubElement {
parent := res.parent_stub()?

if parent is StubBase {
res = parent
res = unsafe { parent }
} else {
return none
}
Expand All @@ -183,7 +183,7 @@ fn (s &StubBase) sibling_of_type_backward(typ StubType) ?StubElement {
prev := res.prev_sibling()?

if prev is StubBase {
res = prev
res = unsafe { prev }
} else {
return none
}
Expand Down

0 comments on commit bc2aa29

Please sign in to comment.