Skip to content

IC: fields of a generic instance from another module lose their line info - #26828

Merged
Araq merged 2 commits into
nim-lang:develfrom
nitely:fix_ic_linfo
Nov 28, 2026
Merged

Araq merged 2 commits into
nim-lang:develfrom
nitely:fix_ic_linfo

Conversation

@nitely

@nitely nitely commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Under nim ic, fields of a generic instance created in another module get line info <module>(0, 0). Only loadSym set infoImpl; fields loaded through loadSymFromCursor never got it.

Split from #26494

@nitely
nitely marked this pull request as ready for review November 28, 2026 05:48
@Araq
Araq merged commit 142437f into nim-lang:devel Nov 28, 2026
19 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 142437f

Hint: codegen mm: orc; threads: on; opt: speed; options: -d:release
221888 lines; 10.492s; 641.25MiB peakmem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants