Skip to content

Commit

Permalink
refactor: updated code to use new constructor
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 51d1bd876688bfcd9eab1d88a22daacff2e7a9dc3ffc293730fdda5790e6926b
  • Loading branch information
thindil committed Jun 5, 2024
1 parent 73777c5 commit 6f838e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ proc main() {.raises: [], tags: [ReadIOEffect, WriteIOEffect, RootEffect],
let astNode: PNode = codeParser.parseAll
codeParser.closeParser
var
currentRule: RuleOptions = RuleOptions()
currentRule: RuleOptions = initRuleOptions()
index: Natural = 0
currentRule.identsCache = nimCache
currentRule.fileName = source
Expand Down

0 comments on commit 6f838e4

Please sign in to comment.