Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jun 22, 2020
1 parent 4273f45 commit 9948197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/ast.nim
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ type
tfFromGeneric, # type is an instantiation of a generic; this is needed
# because for instantiations of objects, structural
# type equality has to be used
tfUnresolved, # marks unresolved typedesc/static/aliasSem params: e.g.
tfUnresolved, # marks unresolved typedesc/static/aliasSym params: e.g.
# proc foo(T: typedesc, list: seq[T]): var T
# proc foo(L: static[int]): array[L, int]
# can be attached to ranges to indicate that the range
Expand Down
2 changes: 1 addition & 1 deletion compiler/semalias.nim
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ proc resolveAliasSym*(n: PNode, forceResolve = false): PNode =
discard
else: # the alias is resolved
doAssert result.typ.n != nil
# nil would mean a aliasSem param was not instantiated; for macros, this
# nil would mean a aliasSym param was not instantiated; for macros, this
# requires macro instantiation
result = result.typ.n.sym.nodeAliasGroup

0 comments on commit 9948197

Please sign in to comment.