* fixes #13122 * moved tests to where they belong
This commit is contained in:
parent
bf2e052e6d
commit
abea80376a
5 changed files with 18 additions and 9 deletions
|
|
@ -826,7 +826,7 @@ type
|
|||
of skLet, skVar, skField, skForVar:
|
||||
guard*: PSym
|
||||
bitsize*: int
|
||||
alignment*: int # for alignas(X) expressions
|
||||
alignment*: int # for alignment
|
||||
else: nil
|
||||
magic*: TMagic
|
||||
typ*: PType
|
||||
|
|
@ -1398,6 +1398,8 @@ proc copySym*(s: PSym): PSym =
|
|||
result.annex = s.annex # BUGFIX
|
||||
if result.kind in {skVar, skLet, skField}:
|
||||
result.guard = s.guard
|
||||
result.bitsize = s.bitsize
|
||||
result.alignment = s.alignment
|
||||
|
||||
proc createModuleAlias*(s: PSym, newIdent: PIdent, info: TLineInfo;
|
||||
options: TOptions): PSym =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue