Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Apr 29, 2024
1 parent 5385c4e commit e166aa2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/tim/engine/compilers/html.nim
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,11 @@ proc walkAccessorStorage(c: var HtmlCompiler,
let some = c.getScope(rhs.identName, scopetables)
if likely(some.scopeTable != nil):
rhs.identArgs.insert(lhs, 0)
result = c.fnCall(rhs, scopetables)
result = c.fnCall(rhs, scopetables)
rhs.identArgs.del(0)
else: discard
else: discard
return c.walkAccessorStorage(lhs, rhs, scopetables)
else:
return c.walkAccessorStorage(lhs, rhs, scopetables)
of ntBracketExpr:
let lhs = c.bracketEvaluator(lhs, scopetables)
if likely(lhs != nil):
Expand Down Expand Up @@ -780,7 +780,8 @@ proc getValue(c: var HtmlCompiler, node: Node,
result.meta = node.meta
of ntDotExpr:
# evaluate dot expressions
result = c.dotEvaluator(node, scopetables)
# result = c.dotEvaluator(node, scopetables)
result = c.walkAccessorStorage(node.lhs, node.rhs, scopetables)
of ntBracketExpr:
result = c.bracketEvaluator(node, scopetables)
if likely(result != nil):
Expand Down

0 comments on commit e166aa2

Please sign in to comment.