Skip to content

Commit

Permalink
minor comment fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
  • Loading branch information
zerbina and saem authored Jul 24, 2024
1 parent 735ac6f commit b0d54ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/backend/mangling.nim
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ proc mangle(g: ModuleGraph, typ: PType): string =
# use the local ID as the name. "H" stands for "hidden"
result = "H" & $s.itemId.item & "_M" & withLen(m)
else:
# non-exported objec type's don't necessarily have unique names within a
# non-exported object types don't necessarily have unique names within a
# module; the ID is included to produced a unique name
result = "L" & mangleWithLen(s.name.s) & "_" & $s.itemId.item & "_M" &
withLen(m)
Expand Down
2 changes: 1 addition & 1 deletion compiler/mir/mirtypes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ type

instances: Table[(int, HeaderId), TypeId]
## associates a generic type ID + instance body with a type symbol. This
## is used for eliminating same-shaped instantiations of a generic
## is used for eliminating same-shaped instantiations of a generic
## object type

idents: BiTable[string]
Expand Down

0 comments on commit b0d54ea

Please sign in to comment.