Skip to content

Commit

Permalink
Actually fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk committed Nov 15, 2023
1 parent ee35267 commit 725db54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/entities/gmod_wire_expression2/base/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,9 @@ function Parser:Expr15()
else
self:Error("Operator (" .. v[1] .. ") must be followed by variable")
end
end ---@cast ident Token # Know it isn't nil from above check

else ---@cast ident Token # Know it isn't nil from above check
if v[1] == "$" then self.delta_vars[ident.value] = true end
end
return Node.new(NodeVariant.ExprUnaryWire, { v[2], ident }, op.trace:stitch(ident.trace))
end
end
Expand Down

0 comments on commit 725db54

Please sign in to comment.