Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Dec 27, 2023
1 parent e7cb642 commit 813c4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/semexprs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3033,9 +3033,9 @@ proc resolveIdent(c: PContext, ident: PIdent, resultNode: var PNode,
# choice.len == 1 can be true here but as long as it's a symchoice
# it's still not resolved
if isSymChoice(choice):
result = nil
if efAllowSymChoice in flags:
resultNode = choice
result = nil
else:
errorUseQualifier(c, info, candidates)
else:
Expand Down

0 comments on commit 813c4b1

Please sign in to comment.