Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Oct 16, 2024
1 parent ca0b4e5 commit 9dc5d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/semstmts.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ proc typeDefLeftSidePass(c: PContext, typeSection: PNode, i: int) =
s = typsym
# add it here, so that recursive types are possible:
if sfGenSym notin s.flags: addInterfaceDecl(c, s)
elif s.owner == nil: setOwner(s.owner, getCurrOwner(c))
elif s.owner == nil: setOwner(s, getCurrOwner(c))

if name.kind == nkPragmaExpr:
if name[0].kind == nkPostfix:
Expand Down

0 comments on commit 9dc5d72

Please sign in to comment.